:root {
  --azul-profundo: #0a3d62;
  --azul: #1e6091;
  --azul-claro: #3282b8;
  --ciano: #48cae4;
  --agua: #e8f4f8;
  --cinza-texto: #2d3436;
  --cinza-claro: #636e72;
  --fundo: #ffffff;
  --fundo-alt: #f5f9fb;
  --borda: #e1e8ed;
  --verde: #2d9d78;
  --sombra: 0 2px 12px rgba(10, 61, 98, 0.08);
  --sombra-forte: 0 8px 30px rgba(10, 61, 98, 0.12);
  --radius: 12px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--cinza-texto);
  background: var(--fundo);
  line-height: 1.7;
  font-size: 17px;
}

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

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

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

.aviso-topo {
  background: var(--azul-profundo);
  color: #cfe8f3;
  font-size: 13px;
  text-align: center;
  padding: 7px 20px;
  letter-spacing: .2px;
}

header.site-header {
  background: var(--fundo);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sombra);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--azul-profundo);
}

.logo .mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--ciano) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--cinza-claro);
  letter-spacing: .5px;
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  color: var(--cinza-texto);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover { border-bottom-color: var(--ciano); color: var(--azul); }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--azul-profundo); }

.hero {
  background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul) 60%, var(--azul-claro) 100%);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--fundo);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 75% 60%, 50% 20%, 25% 70%, 0 30%);
}

.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  opacity: .92;
  max-width: 640px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: var(--ciano);
  color: var(--azul-profundo);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sombra-forte); color: var(--azul-profundo); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--azul-profundo); }

section { padding: 56px 0; }

.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title h2 {
  font-size: 30px;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.section-title p { color: var(--cinza-claro); max-width: 600px; margin: 0 auto; }

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

.card {
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }

.card .thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--azul-claro), var(--ciano));
  position: relative;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.card .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--azul);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card .card-body h3 { font-size: 19px; color: var(--azul-profundo); margin-bottom: 10px; line-height: 1.35; }
.card .card-body p { color: var(--cinza-claro); font-size: 15px; flex: 1; }
.card .card-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--cinza-claro); }
.card .card-meta .read-more { margin-left: auto; color: var(--azul); font-weight: 600; }

.destaque {
  background: var(--fundo-alt);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.feat {
  background: var(--fundo);
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--borda);
  text-align: center;
}
.feat .icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: var(--agua);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.feat h3 { color: var(--azul-profundo); font-size: 18px; margin-bottom: 10px; }
.feat p { color: var(--cinza-claro); font-size: 15px; }

.sobre-box {
  background: var(--agua);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.sobre-box h2 { color: var(--azul-profundo); font-size: 28px; margin-bottom: 16px; }
.sobre-box p { margin-bottom: 14px; color: var(--cinza-texto); }

.newsletter {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-profundo) 100%);
  color: #fff;
  text-align: center;
}
.newsletter h2 { font-size: 28px; margin-bottom: 12px; }
.newsletter p { opacity: .9; max-width: 540px; margin: 0 auto 26px; }
.newsletter form { display: flex; max-width: 480px; margin: 0 auto; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter input {
  flex: 1; min-width: 240px;
  padding: 13px 18px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
}
.newsletter .nota { font-size: 12px; opacity: .7; margin-top: 16px; }

footer.site-footer {
  background: var(--azul-profundo);
  color: #cfe8f3;
  padding: 50px 0 24px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid a { color: #9fcde0; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #9fcde0; line-height: 1.6; margin-bottom: 12px; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 22px;
  font-size: 13px;
  color: #7fb3cc;
  line-height: 1.6;
}
.footer-disclaimer strong { color: #cfe8f3; }
.footer-bottom { text-align: center; margin-top: 18px; font-size: 13px; color: #6fa3bc; }

.artigo-header {
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: #fff;
  padding: 56px 20px 48px;
}
.artigo-header .container { max-width: 800px; }
.artigo-header .breadcrumb { font-size: 13px; opacity: .8; margin-bottom: 18px; }
.artigo-header .breadcrumb a { color: #cfe8f3; }
.artigo-header .tag-cat {
  display: inline-block;
  background: var(--ciano);
  color: var(--azul-profundo);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.artigo-header h1 { font-size: 34px; line-height: 1.3; margin-bottom: 16px; }
.artigo-header .meta { font-size: 14px; opacity: .9; }

.artigo-content { max-width: 760px; margin: 0 auto; padding: 50px 20px; }
.artigo-content .lead { font-size: 20px; color: var(--cinza-claro); margin-bottom: 30px; font-weight: 500; line-height: 1.6; }
.artigo-content h2 { color: var(--azul-profundo); font-size: 26px; margin: 38px 0 16px; }
.artigo-content h3 { color: var(--azul); font-size: 21px; margin: 28px 0 12px; }
.artigo-content p { margin-bottom: 18px; }
.artigo-content ul, .artigo-content ol { margin: 0 0 20px 24px; }
.artigo-content li { margin-bottom: 8px; }
.artigo-content img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--sombra); }
.artigo-content figure figcaption { font-size: 13px; color: var(--cinza-claro); text-align: center; margin-top: 8px; }
.artigo-content blockquote {
  border-left: 4px solid var(--ciano);
  background: var(--fundo-alt);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--cinza-texto);
}
.artigo-content .box-info {
  background: var(--agua);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}
.artigo-content .box-info h4 { color: var(--azul-profundo); margin-bottom: 10px; font-size: 17px; }

.fonte-box {
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 36px 0;
  font-size: 14px;
}
.fonte-box h4 { color: var(--azul-profundo); margin-bottom: 10px; }
.fonte-box ul { margin-left: 20px; color: var(--cinza-claro); }

.aviso-independente {
  border: 1px solid var(--borda);
  background: #fffef7;
  border-left: 4px solid #f0c040;
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--cinza-claro);
}

.page-header {
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}
.page-header h1 { font-size: 34px; margin-bottom: 12px; }
.page-header p { opacity: .9; max-width: 600px; margin: 0 auto; }

.content-page { max-width: 820px; margin: 0 auto; padding: 50px 20px; }
.content-page h2 { color: var(--azul-profundo); font-size: 26px; margin: 34px 0 14px; }
.content-page p { margin-bottom: 16px; }
.content-page ul { margin: 0 0 18px 24px; }
.content-page li { margin-bottom: 8px; }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.contato-info { background: var(--agua); padding: 32px; border-radius: var(--radius); }
.contato-info h3 { color: var(--azul-profundo); margin-bottom: 18px; }
.contato-info .item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contato-info .item .ic { font-size: 22px; }
form.contato-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--cinza-texto); }
form.contato-form input, form.contato-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--borda);
  border-radius: 8px; font-size: 15px; margin-bottom: 18px; font-family: inherit;
}
form.contato-form button {
  background: var(--azul); color: #fff; border: none;
  padding: 13px 30px; border-radius: 30px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: background .2s;
}
form.contato-form button:hover { background: var(--azul-profundo); }

@media (max-width: 820px) {
  .hero h1 { font-size: 28px; }
  nav.main-nav ul {
    position: absolute; top: 100%; right: 0; left: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 10px 0; box-shadow: var(--sombra); display: none;
  }
  nav.main-nav ul.open { display: flex; }
  nav.main-nav li { width: 100%; text-align: center; }
  nav.main-nav a { display: block; padding: 12px; border-bottom: 1px solid var(--borda); }
  .menu-toggle { display: block; }
  .sobre-box, .contato-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .artigo-header h1 { font-size: 26px; }
}
