﻿:root{
  --primary:#612DEF;
  --primary-dark:#3B168F;
  --primary-soft:#F4F0FF;
  --primary-soft-2:#ECE5FF;
  --blue:#2563EB;
  --blue-dark:#1E40AF;
  --blue-soft:#EFF6FF;
  --blue-page:#EAF2FD;
  --blue-surface:#F5F9FF;
  --ink:#111827;
  --muted:#64748B;
  --line:#E5E7EB;
  --bg:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#FAFAFF;
  --danger:#B91C1C;
  --ok:#047857;
  --shadow:0 18px 45px rgba(17,24,39,.09);
  --shadow-soft:0 8px 24px rgba(17,24,39,.06);
  --radius:18px;
}

@font-face{
  font-family:'Sifonn Outline';
  src:url('fonts/Sifonn-Outline.woff2') format('woff2'),
      url('fonts/Sifonn-Outline.woff') format('woff'),
      url('fonts/Sifonn-Outline.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(97,45,239,.10), transparent 34rem),
    linear-gradient(180deg,var(--blue-page) 0%,#fbfaff 44%,var(--blue-page) 100%);
  color:var(--ink);
}

a{
  color:var(--primary);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.topbar{
  min-height:72px;
  background:var(--blue-surface);
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 34px;
  border-bottom:1px solid rgba(97,45,239,.14);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(12px);
  box-shadow:0 8px 22px rgba(17,24,39,.04);
}

.brand{
  color:var(--primary);
  font-family:'Sifonn Outline',Arial,Helvetica,sans-serif;
  font-size:28px;
  font-weight:900;
  letter-spacing:.8px;
  line-height:1;
  text-transform:uppercase;
}

.topbar nav{
  display:flex;
  align-items:center;
  gap:10px;
}

.topbar nav a{
  color:#2d1b69;
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  transition:.15s ease;
}

.topbar nav a:hover{
  background:var(--blue-soft);
  color:var(--blue);
  text-decoration:none;
}

.container{
  max-width:1320px;
  margin:0 auto;
  padding:28px 24px 40px;
}

.hero{
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.55), transparent 38rem),
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.22), transparent 30rem),
    linear-gradient(135deg,var(--primary) 0%,#4A1FBF 45%,#1E40AF 100%);
  color:#fff;
  border-radius:32px;
  padding:48px 48px 76px;
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:center;
  box-shadow:0 30px 70px rgba(30,64,175,.28);
  overflow:hidden;
  position:relative;
}

.hero:before{
  content:"";
  position:absolute;
  inset:auto -100px -140px auto;
  width:340px;
  height:340px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}

.hero:after{
  content:"";
  position:absolute;
  inset:-60px auto auto -60px;
  width:200px;
  height:200px;
  border-radius:50%;
  background:rgba(37,99,235,.35);
  filter:blur(10px);
}

.hero h1{
  font-size:44px;
  line-height:1.05;
  margin:0 0 12px;
  letter-spacing:-.04em;
}

.hero p{
  margin:0;
  max-width:680px;
  color:rgba(255,255,255,.88);
  font-size:17px;
}

.search{
  display:flex;
  gap:10px;
  position:relative;
  z-index:1;
}

.search input{
  min-width:360px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:14px;
  padding:14px 16px;
  font-size:15px;
  outline:none;
  background:rgba(255,255,255,.96);
  color:var(--ink);
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}

.search.large input{
  min-width:min(820px,70vw);
  border:1px solid var(--line);
  box-shadow:none;
}

button,
.btn{
  border:1px solid var(--blue);
  background:#fff;
  color:var(--blue);
  border-radius:12px;
  padding:10px 15px;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.18s ease;
}

button{
  background:linear-gradient(135deg,var(--primary) 0%,var(--blue) 100%);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 22px rgba(97,45,239,.25);
}

button:hover,
.btn:hover{
  transform:translateY(-2px);
  text-decoration:none;
  box-shadow:0 14px 28px rgba(37,99,235,.28);
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:-48px 0 24px;
  position:relative;
  z-index:2;
}

.stat{
  background:rgba(239,246,255,.85);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.6);
  border-radius:18px;
  padding:22px 24px;
  box-shadow:0 18px 40px rgba(30,41,59,.14);
  transition:.2s ease;
}

.stat:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 48px rgba(37,99,235,.20);
  background:rgba(255,255,255,.92);
}

.stat strong{
  font-size:36px;
  line-height:1;
  display:block;
  letter-spacing:-.04em;
  background:linear-gradient(135deg,var(--primary) 0%,var(--blue) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.stat span{
  color:var(--muted);
  font-weight:800;
  margin-top:8px;
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.panel{
  background:var(--blue-surface);
  border:1px solid rgba(97,45,239,.13);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.panel-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,var(--blue-surface) 0%,var(--blue-page) 100%);
}

.panel-title h2{
  margin:0;
  font-size:18px;
  letter-spacing:-.02em;
}

.filters{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.chip{
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:7px 12px;
  background:var(--blue-surface);
  color:var(--blue);
  font-weight:900;
  font-size:13px;
}

.chip:hover{
  background:var(--blue-soft);
  text-decoration:none;
}

.chip.active{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.table-wrap{
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  background:var(--blue-surface);
}

th,
td{
  text-align:left;
  padding:14px 15px;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}

th{
  background:var(--blue-page);
  color:#2d1b69;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

tbody tr:hover{
  background:#fcfbff;
}

.page-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin:8px 0 22px;
}

.page-title h1{
  margin:0 0 10px;
  font-size:38px;
  line-height:1.08;
  letter-spacing:-.04em;
}

.badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  display:inline-flex;
  align-items:center;
  background:var(--blue-soft);
  color:var(--blue);
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
  margin-right:4px;
  line-height:1.2;
}

.badge.gold{
  background:var(--primary-soft);
  color:var(--primary);
}

.badge.blue{
  background:var(--blue);
  color:#fff;
}

.badge.dark{
  background:var(--primary);
  color:#fff;
}

.article-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.article-full{
  background:var(--blue-soft);
  border:1px solid rgba(97,45,239,.12);
  border-radius:20px;
  padding:20px;
  box-shadow:var(--shadow-soft);
}

.article-card{
  background:var(--blue-soft);
  border:1px solid var(--line);
  border-top:3px solid var(--blue);
  border-radius:20px;
  padding:24px;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  transition:.22s ease;
}

.article-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 44px rgba(37,99,235,.16);
}

.article-card h2{
  font-size:21px;
  line-height:1.28;
  margin:6px 0 8px;
  letter-spacing:-.025em;
}

.article-grid > .article-card:first-child{
  grid-column:1 / -1;
  padding:32px;
  background:linear-gradient(135deg,var(--blue-soft) 0%,var(--primary-soft) 140%);
}

.article-grid > .article-card:first-child h2{
  font-size:30px;
  line-height:1.18;
  max-width:80%;
}

.article-grid > .article-card:first-child p.muted{
  font-size:16px;
  max-width:70%;
}

@media(max-width:900px){
  .article-grid > .article-card:first-child{
    padding:24px;
  }

  .article-grid > .article-card:first-child h2,
  .article-grid > .article-card:first-child p.muted{
    font-size:inherit;
    max-width:100%;
  }
}

.article-card h2 a{
  color:#0f172a;
}

.article-card h2 a:hover{
  color:var(--blue);
  text-decoration:none;
}

.article-card h3{
  font-size:14px;
  margin:0 0 12px;
  font-weight:800;
}

.article-card h3 a{
  color:var(--blue);
}

.card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.card-order{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.muted{
  color:var(--muted);
}

.meta{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.article-head h1{
  font-size:42px;
  line-height:1.08;
  margin:14px 0;
  letter-spacing:-.045em;
}

.byline{
  font-size:17px;
  color:var(--muted);
}

.image-strip{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:14px;
  background:var(--primary-soft);
  border:1px solid #dfd4ff;
  border-radius:18px;
  padding:16px;
  margin:22px 0;
}

.image-strip figure{
  margin:0;
}

.image-strip img{
  width:100%;
  height:150px;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:6px;
}

.image-strip figcaption{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

.content{
  font-size:18px;
  line-height:1.78;
  max-width:940px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px 32px;
  margin-top:8px;
}

.content p{
  margin:0 0 20px;
}

.article-nav{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:24px 0;
}

.result-list{
  display:grid;
  gap:12px;
}

.result{
  background:var(--blue-soft);
  border:1px solid var(--line);
  border-left:4px solid var(--blue);
  border-radius:14px;
  padding:18px 22px;
  box-shadow:var(--shadow-soft);
  transition:.18s ease;
}

.result:hover{
  transform:translateX(4px);
  box-shadow:0 16px 32px rgba(37,99,235,.14);
}

.result h2{
  margin:0 0 6px;
  line-height:1.2;
  font-size:19px;
}

.result h2 a{
  color:#0f172a;
}

.result h2 a:hover{
  color:var(--blue);
  text-decoration:none;
}

.result p{
  margin:0;
}

.result p strong{
  color:var(--primary);
}

.footer{
  padding:28px 24px;
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--line);
  background:var(--blue-surface);
  font-size:14px;
}

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

  .hero{
    display:block;
    padding:30px 24px;
    border-radius:22px;
  }

  .hero h1{
    font-size:34px;
  }

  .search{
    margin-top:20px;
    flex-direction:column;
  }

  .search input{
    min-width:0;
    width:100%;
  }

  .topbar{
    height:auto;
    gap:12px;
    align-items:flex-start;
    flex-direction:column;
    padding:16px;
  }

  .brand{
    font-size:24px;
  }

  .topbar nav{
    width:100%;
    flex-wrap:wrap;
  }

  .container{
    padding:16px;
  }

  .page-title{
    flex-direction:column;
  }

  .article-head h1,
  .page-title h1{
    font-size:30px;
  }

  th,
  td{
    padding:12px;
  }
}

.author-box{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:18px;
  align-items:start;
  background:linear-gradient(135deg,#ffffff 0%,#f7f3ff 100%);
  border:1px solid rgba(97,45,239,.18);
  border-radius:22px;
  padding:18px;
  margin:18px 0 22px;
}

.author-photo{
  width:96px;
  height:96px;
  border-radius:24px;
  background:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(97,45,239,.20);
}

.author-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.author-photo span{
  color:#fff;
  font-weight:900;
  font-size:30px;
  letter-spacing:-.04em;
}

.author-info h2{
  margin:2px 0 4px;
  font-size:24px;
  line-height:1.15;
}

.author-info h2 a{
  color:#1f114f;
}

.author-label{
  color:var(--primary);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.author-column{
  display:inline-flex;
  background:var(--primary);
  color:#fff;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
  margin:6px 0 8px;
}

.author-info p{
  margin:8px 0 0;
  color:#475569;
  line-height:1.55;
}

.article-kicker{
  color:var(--primary);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:13px;
  margin-top:18px;
}

@media(max-width:700px){
  .author-box{
    grid-template-columns:1fr;
  }

  .author-photo{
    width:82px;
    height:82px;
    border-radius:20px;
  }
}

/* Conteúdo editorial HTML vindo do TinyMCE */
.content h2,
.content h3,
.content h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.content p {
  margin: 0 0 18px;
}

.content ul,
.content ol {
  margin: 0 0 20px 24px;
  padding-left: 18px;
}

.content li {
  margin-bottom: 8px;
}

.content a {
  color: #612DEF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.96rem;
}

.content table th,
.content table td {
  border: 1px solid #ddd6fe;
  padding: 10px 12px;
  vertical-align: top;
}

.content table th {
  background: #f5f3ff;
  color: #1f1147;
  font-weight: 700;
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 18px 0;
}

.content blockquote {
  border-left: 4px solid #612DEF;
  background: #f8f5ff;
  margin: 22px 0;
  padding: 14px 18px;
  border-radius: 12px;
  color: #2f255f;
}

.edicoes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:16px;
  padding:20px;
}

.edicao-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  background:var(--blue-surface);
  border:1px solid rgba(97,45,239,.14);
  border-top:3px solid var(--primary);
  border-radius:18px;
  padding:20px;
  color:var(--ink);
  transition:.2s ease;
  text-decoration:none;
}

.edicao-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(97,45,239,.16);
  background:#fff;
  text-decoration:none;
  color:var(--ink);
}

.edicao-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.edicao-ano{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}

.edicao-rotulo{
  font-size:17px;
  font-weight:900;
  line-height:1.25;
  color:#1f114f;
  display:block;
}

.edicao-meta{
  display:flex;
  gap:12px;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  margin-top:4px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  color:var(--muted);
  margin:0 0 18px;
  flex-wrap:wrap;
}

.breadcrumb a{
  color:var(--primary);
  font-weight:700;
}

.breadcrumb a:hover{
  text-decoration:underline;
}

.breadcrumb .sep{
  color:var(--line);
  font-size:15px;
}

.breadcrumb-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

/* ── Colunistas grid ─────────────────────────────────────────────────────────── */
.colunistas-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:18px;
  margin-top:6px;
}

.colunista-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--blue-surface);
  border:1px solid rgba(97,45,239,.13);
  border-left:4px solid var(--primary);
  border-radius:18px;
  padding:18px 20px;
  text-decoration:none;
  color:var(--ink);
  transition:.2s ease;
  box-shadow:var(--shadow-soft);
}

.colunista-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(97,45,239,.16);
  background:#fff;
  text-decoration:none;
  color:var(--ink);
}

.colunista-photo{
  width:64px;
  height:64px;
  border-radius:50%;
  background:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
  box-shadow:0 6px 16px rgba(97,45,239,.22);
}

.colunista-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.colunista-photo span{
  color:#fff;
  font-weight:900;
  font-size:22px;
  letter-spacing:-.04em;
}

.colunista-info{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.colunista-nome{
  font-size:15px;
  font-weight:900;
  color:#1f114f;
  line-height:1.25;
}

.colunista-coluna{
  font-size:12px;
  font-weight:700;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.colunista-qtd{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}

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