/* Blog do Studio Vitor Campos: mesmas cores, fonte e topo do site (index.html) */
:root {
  --petroleo: #003346;
  --petroleo-escuro: #021c26;
  --ciano: #00fff9;
  --ciano-texto: #0a8fa3;
  --coral: #ff6a3d;
  --manteiga: #ffc94d;
  --creme: #f3ede2;
  --branco: #ffffff;
  --texto: #0b2430;
  --cinza: #5a6e77;
  --linha: #dde8ec;
  --largura: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Montserrat", system-ui, sans-serif; color: var(--texto); background: var(--branco); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--largura), 100% - 32px); margin-inline: auto; }
.estreito { width: min(760px, 100% - 32px); }
.logo { width: 38px; height: 38px; flex-shrink: 0; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(0, 51, 70, .92); backdrop-filter: blur(10px); color: var(--branco); }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 3px; line-height: 1; }
.marca strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: .3px; line-height: 1.2; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.menu a { text-decoration: none; opacity: .85; }
.menu a:hover { opacity: 1; color: var(--ciano); }
.botao { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 99px; padding: 14px 26px; font: 700 16px "Montserrat", sans-serif; text-decoration: none; transition: transform .15s; }
.botao:hover { transform: translateY(-2px); }
.botao-ciano { background: var(--ciano); color: var(--petroleo); }
.botao-coral { background: var(--coral); color: var(--branco); }
.topo .botao { padding: 10px 20px; font-size: 14px; opacity: 1; }
.selo { display: inline-block; background: rgba(0, 255, 249, .12); color: var(--ciano); border: 1px solid rgba(0, 255, 249, .35); font-size: 13px; font-weight: 700; letter-spacing: 3px; padding: 8px 16px; border-radius: 99px; text-transform: uppercase; }

/* lista do blog */
.capa-blog { background: radial-gradient(120% 90% at 85% 10%, #0a5a73 0%, var(--petroleo) 45%, var(--petroleo-escuro) 100%); color: var(--branco); padding: 72px 0 80px; }
.capa-blog h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; line-height: 1.06; letter-spacing: -1.2px; margin: 20px 0 16px; max-width: 820px; }
.capa-blog p { font-size: 18px; color: #b9d3db; max-width: 640px; }
.lista { padding: 64px 0 24px; }
.lista .container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.cartao-post { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--branco); border: 1px solid var(--linha); border-radius: 24px; padding: 28px; transition: transform .15s, box-shadow .15s; }
.cartao-post:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 51, 70, .12); }
.cartao-post img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; margin-bottom: 8px; }
.cartao-post h2 { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
.cartao-post p { color: var(--cinza); font-size: 15px; }
.cartao-post .ler { margin-top: auto; font-weight: 700; color: var(--ciano-texto); font-size: 15px; }
.meta { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--ciano-texto); text-transform: uppercase; }
.vazio { color: var(--cinza); }

/* artigo */
.artigo { padding: 48px 0 24px; }
.voltar { display: inline-block; font-size: 14px; font-weight: 700; color: var(--ciano-texto); text-decoration: none; margin-bottom: 28px; }
.artigo h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; line-height: 1.08; letter-spacing: -1px; margin: 12px 0 16px; }
.linha-fina { font-size: 20px; color: var(--cinza); line-height: 1.5; padding-bottom: 28px; border-bottom: 1px solid var(--linha); }
.artigo .capa { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 22px; margin-top: 28px; box-shadow: 0 24px 50px rgba(0, 51, 70, .15); }
.texto { font-size: 18px; line-height: 1.75; }
.texto > * + * { margin-top: 20px; }
.texto h2 { font-size: 27px; font-weight: 800; line-height: 1.2; letter-spacing: -.4px; margin-top: 44px; }
.texto h3 { font-size: 21px; font-weight: 800; margin-top: 32px; }
.texto p:first-child { margin-top: 28px; }
.texto ul, .texto ol { padding-left: 24px; display: grid; gap: 8px; }
.texto li::marker { color: var(--ciano-texto); font-weight: 800; }
.texto a { color: var(--ciano-texto); font-weight: 600; }
.texto strong { font-weight: 700; }
.texto blockquote { border-left: 5px solid var(--manteiga); background: #fff8e6; border-radius: 0 16px 16px 0; padding: 18px 24px; font-size: 21px; font-weight: 700; line-height: 1.45; }
.texto hr { border: 0; border-top: 1px solid var(--linha); margin: 44px 0; }
.texto .tabela { overflow-x: auto; border: 1px solid var(--linha); border-radius: 16px; }
.texto table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.texto th, .texto td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.texto th { background: #f3f8fa; font-weight: 800; }
.texto tr:last-child td { border-bottom: 0; }
.assinatura { margin-top: 40px; font-size: 14px; font-weight: 600; color: var(--cinza); }

/* chamada para o diagnóstico */
.chamada { margin: 40px 0 0; background: var(--petroleo); color: var(--branco); border-radius: 28px; padding: 36px 32px; }
.chamada h2 { font-size: 26px; font-weight: 900; line-height: 1.15; letter-spacing: -.4px; }
.chamada p { color: #b9d3db; margin: 10px 0 22px; }

/* rodapé */
footer { background: var(--petroleo-escuro); color: #9fb9c1; padding: 40px 0; font-size: 14px; margin-top: 72px; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer strong { color: var(--branco); }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ciano); }

@media (max-width: 760px) {
  .menu a:not(.botao) { display: none; }
  .marca small { display: none; }
  .marca strong { font-size: 15px; }
  .topo .container { height: 64px; }
  .topo .botao { padding: 9px 14px; font-size: 13px; }
  .lista .container { grid-template-columns: 1fr; }
  .texto { font-size: 17px; }
  .chamada { padding: 28px 22px; }
}
