/* Estilo atualizado, B2B, inspirado em blogs clássicos porém moderno */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f4f6f8;
  color: #1f2933;
}

a {
  color: #0053b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-wrapper {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, #0b2a4a, #124c8b);
  color: #fff;
  padding: 16px 40px 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.brand h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0.02em;
}

.brand p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.9;
}

nav {
  margin-top: 14px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 13px;
  color: #e5f0ff;
  backdrop-filter: blur(4px);
}

nav a:hover {
  background: rgba(15, 23, 42, 0.25);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 32px 40px;
}

main {
  font-size: 15px;
  line-height: 1.7;
}

main h2 {
  font-size: 22px;
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e7eb;
}

main h3 {
  font-size: 18px;
  margin-top: 20px;
}

main p {
  margin: 10px 0;
}

.hero-nota {
  font-size: 13px;
  background: #e5f0ff;
  border-radius: 10px;
  border: 1px solid #c3ddff;
  padding: 12px 14px;
  margin: 8px 0 22px;
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 24px;
  background: radial-gradient(circle at top left, #e5f0ff 0, #ffffff 45%, #f9fafb 100%);
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.hero-banner h2 {
  border-bottom: none;
  margin-bottom: 8px;
}

.hero-banner p {
  margin-top: 6px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hero-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: #0b2a4a;
  color: #e5f0ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  text-align: right;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.15);
}

.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.post-header h2 {
  border-bottom: none;
  margin: 0;
  font-size: 19px;
}

.post-meta {
  font-size: 12px;
  color: #6b7280;
}

.post-thumb {
  margin: 10px 0 6px;
}

.post-thumb img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.badge-atencao {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: #f97316;
  color: #fff7ed;
}

.box-aviso {
  border-radius: 10px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  padding: 10px 12px;
  font-size: 13px;
  margin: 14px 0;
}

.sidebar {
  font-size: 13px;
}

.sidebar-section {
  margin-bottom: 22px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.sidebar-section h3 {
  font-size: 14px;
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4b5563;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 6px;
}

.lista-simples {
  padding-left: 18px;
}

.lista-simples li {
  margin-bottom: 6px;
}

.table-termos {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table-termos th,
.table-termos td {
  border: 1px solid #e5e7eb;
  padding: 8px;
  vertical-align: top;
}

.table-termos th {
  background: #f3f4f6;
  text-align: left;
  width: 32%;
}

form {
  max-width: 520px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 13px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-family: inherit;
  font-size: 14px;
}

textarea {
  min-height: 130px;
}

button,
input[type="submit"] {
  margin-top: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #124c8b;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

button:hover,
input[type="submit"]:hover {
  background: #0b2a4a;
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 18px 32px 20px;
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 10px;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #374151;
}

.footer-col p {
  margin: 4px 0;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin: 4px 0;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom small {
  color: #9ca3af;
}

.footer-links-inline a {
  margin-right: 10px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 12px;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  max-width: 680px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #9ca3af;
  background: transparent;
  color: #e5e7eb;
  font-size: 12px;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #ecfdf3;
}

.cookie-btn:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .hero-banner {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  header {
    padding: 14px 18px 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

