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

:root {
  --bd:    #1C0F07;
  --bm:    #3B1F0E;
  --bl:    #5C3317;
  --bll:   #7A4A22;
  --bw:    #F5EDE4;
  --bb:    #DDD0C4;
  --red:   #C8280F;
  --red2:  #E8341A;
  --blue:  #1E5FAD;
  --cream: #FAF6F1;
  --gray:  #6B6460;
  --text:  #1A1008;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* HEADER */
.hdr {
  background: var(--bd);
  border-bottom: 3px solid var(--red);
  padding: 0 32px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo em { color: var(--red); font-style: normal; }
.logo sub {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 8px;
  font-family: 'Outfit', sans-serif;
  vertical-align: middle;
}
.hnav { display: flex; gap: 24px; align-items: center; }
.hnav a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.hnav a:hover { color: #fff; }
.btn-wpp {
  background: var(--red);
  color: #fff;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-wpp:hover { background: var(--red2); }

/* SEARCH BAR */
.search-bar {
  background: #fff;
  border-bottom: 1px solid var(--bb);
  padding: 14px 32px;
  display: flex;
  justify-content: center;
}
.search-wrap {
  display: flex;
  width: 100%;
  max-width: 720px;
  position: relative;
}
.search-select {
  background: var(--bm);
  color: #fff;
  border: none;
  padding: 0 36px 0 14px;
  height: 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  min-width: 170px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
}
.search-input {
  flex: 1;
  border: 1px solid var(--bb);
  border-left: none;
  border-right: none;
  padding: 0 16px;
  height: 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  color: var(--text);
  background: #fff;
}
.search-input:focus { border-color: var(--bm); }
.search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.search-btn:hover { background: var(--red2); }

/* Autocomplete */
.autocomplete {
  position: absolute;
  top: 44px;
  left: 170px;
  right: 88px;
  background: #fff;
  border: 1px solid var(--bb);
  border-top: none;
  z-index: 200;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.ac-item {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--bb);
  transition: background .15s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: var(--bw); }
.ac-cat {
  font-size: 10px;
  background: var(--bw);
  border: 1px solid var(--bb);
  color: var(--bll);
  padding: 2px 7px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

/* BREADCRUMB */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--bb);
  padding: 10px calc((100% - 1140px) / 2 + 32px);
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* CATEGORY PILLS */
.cat-bar {
  background: #fff;
  border-bottom: 1px solid var(--bb);
  padding: 10px calc((100% - 1140px) / 2 + 32px);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cat-pill {
  font-size: 12px;
  padding: 5px 14px;
  background: var(--bw);
  border: 1px solid var(--bb);
  color: var(--gray);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: all .2s;
  text-decoration: none;
}
.cat-pill:hover { border-color: var(--bm); color: var(--bm); }
.cat-pill.active { background: var(--bm); color: #fff; border-color: var(--bm); }

/* MAIN WRAPPER */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
}

/* SCHEMA BAR */
.schema-bar {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--bb);
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.schema-bar-title { font-size: 12px; font-weight: 600; color: var(--bd); }
.schema-inds { display: flex; gap: 16px; flex-wrap: wrap; }
.si { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gray); }
.sd { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sg { background: #16a34a; }
.sb { background: #2563eb; }
.so { background: #d97706; }

/* HERO */
.hero {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--bb);
  display: grid;
  grid-template-columns: 420px 1fr;
}
.hero-img {
  background: linear-gradient(135deg, var(--bd) 0%, var(--bl) 55%, var(--bll) 100%);
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}
.hero-oab {
  align-self: flex-start;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 12px;
  text-align: center;
}
.hero-oab span {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.4;
  display: block;
}
.tag-dest {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: fit-content;
}
.hero-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.hero h1,
.artigo-titulo {
  font-family: 'Sora', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--bd);
  line-height: 1.3;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-chip { display: flex; align-items: center; gap: 6px; }
.author-chip a { color: var(--blue); text-decoration: none; font-weight: 500; }
.author-chip a:hover { text-decoration: underline; }
.oab-tag {
  font-size: 10px;
  background: var(--bw);
  border: 1px solid var(--bb);
  color: var(--bl);
  padding: 2px 7px;
  font-weight: 600;
}
.btn-red {
  background: var(--red);
  color: #fff;
  padding: 10px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: background .2s;
  text-decoration: none;
}
.btn-red:hover { background: var(--red2); }
.disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--bw);
  border-left: 3px solid var(--bb);
  font-size: 11px;
  color: var(--gray);
  line-height: 1.5;
}
.kw-row { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.kw {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bw);
  border: 1px solid var(--bb);
  color: var(--gray);
}

/* CONTENT COLUMN */
.content-col { min-width: 0; }

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--bd);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bm);
  display: inline-block;
}

/* CARDS GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--bb);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--bm); transform: translateY(-2px); }
.card-img { height: 120px; position: relative; overflow: hidden; }
.ci1 { background: linear-gradient(135deg, var(--bm) 0%, var(--bd) 100%); }
.ci2 { background: linear-gradient(135deg, var(--bd) 0%, var(--bll) 100%); }
.ci3 { background: linear-gradient(135deg, var(--bll) 0%, var(--bm) 100%); }
.ci4 { background: linear-gradient(135deg, var(--red) 0%, var(--bd) 100%); }
.ci5 { background: linear-gradient(135deg, var(--bm) 0%, var(--bll) 100%); }
.ci6 { background: linear-gradient(135deg, var(--bd) 0%, var(--red) 100%); }
.card-cat-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(28,15,7,0.82);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--bd);
  line-height: 1.35;
  margin-bottom: 8px;
  flex: 1;
}
.card-footer {
  font-size: 11px;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--bb);
}
.card-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-rev { font-size: 10px; color: var(--gray); }

/* PAGINATION */
.pagination { display: flex; gap: 4px; align-items: center; margin-bottom: 32px; }
.pagination a,
.pagination span {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--bb);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  color: var(--text);
}
.pagination a:hover { border-color: var(--bm); color: var(--bm); }
.pagination .active {
  background: var(--bm);
  color: #fff;
  border-color: var(--bm);
}

/* ARTIGO FULL */
.artigo-full {
  background: #fff;
  border: 1px solid var(--bb);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.artigo-corpo {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin-top: 24px;
}
.artigo-corpo h2 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bd);
  margin: 28px 0 12px;
}
.artigo-corpo h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--bm);
  margin: 24px 0 10px;
}
.artigo-corpo p { margin-bottom: 16px; }
.artigo-corpo ul, .artigo-corpo ol {
  margin: 0 0 16px 24px;
}
.artigo-corpo a { color: var(--blue); }
.artigo-corpo a.curinga-link { border-bottom: 1px dashed var(--blue); text-decoration: none; }
.artigo-corpo a.curinga-link:hover { border-bottom-style: solid; }
.artigo-corpo blockquote {
  border-left: 3px solid var(--bm);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bw);
  font-style: italic;
  color: var(--gray);
}

/* FAQ SECTION */
.faq-section { margin-top: 28px; margin-bottom: 24px; }
.faq-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bd);
  margin-bottom: 16px;
}
.faq-detail {
  border: 1px solid var(--bb);
  margin-bottom: -1px;
}
.faq-detail summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bd);
  cursor: pointer;
  background: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.faq-detail summary:hover { background: var(--bw); }
.faq-detail summary::after { content: '+'; font-size: 18px; color: var(--gray); font-weight: 400; }
.faq-detail[open] summary::after { content: '−'; }
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--bw);
  border-top: 1px solid var(--bb);
}

/* AUTOR BOX */
.autor-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 20px;
  background: var(--bw);
  border: 1px solid var(--bb);
}
.autor-box a { color: var(--blue); text-decoration: none; font-weight: 600; }
.autor-box a:hover { text-decoration: underline; }

/* RELACIONADOS */
.relacionados { margin-top: 8px; margin-bottom: 24px; }
.relacionados .card-title { font-size: 12px; }
.relacionados .card-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
  display: inline-block;
}

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.cta-box {
  background: var(--bd);
  padding: 24px;
  border-left: 4px solid var(--red);
}
.cta-box .eyebrow {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cta-box h3 {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.cta-box p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 18px;
}
.btn-cta-p {
  display: block;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 11px;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom: 8px;
  transition: background .2s;
}
.btn-cta-p:hover { background: var(--red2); }
.btn-cta-s {
  display: block;
  background: transparent;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 9px;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  width: 100%;
  transition: border-color .2s;
}
.btn-cta-s:hover { border-color: rgba(255,255,255,0.5); }
.trust { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tr { display: flex; align-items: center; gap: 4px; font-size: 10px; color: rgba(255,255,255,0.4); }
.trd { width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

.wbox { background: #fff; border: 1px solid var(--bb); padding: 18px; }
.wtitle {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--bd);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bm);
  display: inline-block;
}
.pop {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bb);
  cursor: pointer;
  transition: opacity .2s;
}
.pop:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.pop:hover { opacity: 0.75; }
.pop-n {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bb);
  min-width: 28px;
  line-height: 1;
}
.pop-t { font-size: 12px; font-weight: 500; color: var(--bd); line-height: 1.4; }
.pop-c { font-size: 10px; color: var(--blue); font-weight: 600; margin-top: 3px; }

.newsletter {
  background: var(--bw);
  border: 1px solid var(--bb);
  padding: 18px;
}
.newsletter h4 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--bd);
  margin-bottom: 6px;
}
.newsletter p { font-size: 12px; color: var(--gray); margin-bottom: 12px; line-height: 1.5; }
.nl-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--bb);
  background: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color .2s;
}
.nl-input:focus { border-color: var(--bm); }
.nl-btn {
  width: 100%;
  padding: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.nl-btn:hover { background: var(--red2); }

/* FOOTER */
.footer-seo {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--bb);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  margin-left: 14px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-bar2 {
  background: var(--bd);
  padding: 0;
}
.footer-top {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-bar2 .logo {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); }
.footer-col .btn-cta-p {
  margin-top: 4px;
  padding: 10px 20px;
  font-size: 12px;
  width: auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
  position: relative;
  display: inline-block;
}
.footer-bottom a.bluetec.glitch {
  animation: glitch .5s ease forwards;
}
@keyframes glitch {
  0%        { transform: translate(0); clip-path: none; text-shadow: none; }
  15%       { transform: translate(-2px, 1px); clip-path: inset(20% 0 40% 0); text-shadow: 2px 0 #ff0000, -2px 0 #00ffff; }
  25%       { transform: translate(0); clip-path: none; text-shadow: none; }
  45%       { transform: translate(2px, -1px); clip-path: inset(50% 0 15% 0); text-shadow: 2px 0 #ff0000, -2px 0 #00ffff; }
  55%       { transform: translate(0); clip-path: none; text-shadow: none; }
  75%       { transform: translate(-1px, -1px); clip-path: inset(10% 0 60% 0); text-shadow: 2px 0 #ff0000, -2px 0 #00ffff; }
  85%, 100% { transform: translate(0); clip-path: none; text-shadow: none; }
}
.heart-pulse {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  animation: pulse 1.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3); }
}

/* WPP FLOAT */
.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(200,40,15,0.35);
  transition: background .2s, transform .2s;
}
.wpp-float:hover { background: var(--red2); transform: translateY(-2px); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero    { animation: fadeUp .5s ease both; }
.grid    { animation: fadeUp .5s .1s ease both; }
.sidebar { animation: fadeUp .5s .2s ease both; }
