/* ============================================================
   Blog Voltaire Vélos — mesma identidade da loja (Inter, preto/branco,
   cantos suaves), mas leiaute de conteúdo: coluna estreita,
   tipografia maior e respiro entre blocos.

   Vive à parte do index da oferta de propósito: a página de venda
   é longa e frágil, e não vale a pena mexer nela para publicar
   artigo.
   ============================================================ */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #111111;
  --text-muted: #525252;
  --text-soft: #737373;
  --accent: #0f0f0f;
  --accent-hover: #1a1a1a;
  --border: #eaeaea;
  --border-soft: #f2f2f2;
  --wash: #fafafa;
  --green: #00b67a;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .10);
  --maxw: 1140px;
  --readw: 720px;
}

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--readw); margin: 0 auto; padding: 0 20px; }

/* ---------------- cabeçalho ---------------- */
.bhead {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.bhead-in {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.bhead-logo img { height: 26px; width: auto; }
.bhead-nav { display: flex; gap: 20px; margin-left: 8px; flex: 1; }
.bhead-nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.bhead-nav a:hover, .bhead-nav a.on { color: var(--text); border-bottom-color: var(--text); }
.bhead-cta {
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; transition: background .15s, transform .15s;
}
.bhead-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
@media (max-width: 760px) {
  .bhead-nav { display: none; }
  .bhead-in { gap: 12px; justify-content: space-between; }
  .bhead-cta { padding: 8px 14px; font-size: 13px; }
}

/* ---------------- destaque da home ---------------- */
.hero { padding: 40px 0 8px; }
.hero-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
  max-height: 480px;   /* senão uma foto em retrato estica o cartão inteiro */
}
/* Altura DEFINIDA + object-fit: as fotos do catálogo têm formatos
   variados (algumas em retrato 1200×1500). Sem altura fixa, uma foto
   em pé ocupava a tela inteira do celular e empurrava o texto para
   fora — só se via a imagem. */
.hero-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center; }
.hero-body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.hero-body h1 {
  font-size: 34px; line-height: 1.2; letter-spacing: -.02em; margin: 12px 0 12px; font-weight: 800;
}
.hero-body p { color: var(--text-muted); font-size: 16px; }
@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; max-height: none; }
  /* empilhado a linha não tem altura definida: fixa-se aqui */
  .hero-card img { height: 230px; min-height: 0; }
  .hero-body { padding: 24px 22px; }
  .hero-body h1 { font-size: 26px; }
}

/* ---------------- etiquetas e metadados ---------------- */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-soft);
}
.meta { font-size: 13px; color: var(--text-soft); margin-top: 10px; }
.meta span + span::before { content: '·'; margin: 0 7px; }

/* ---------------- grade de artigos ---------------- */
.sec-title {
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); margin: 48px 0 18px;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card { text-decoration: none; display: block; }
.card-img {
  border-radius: var(--radius); overflow: hidden; background: var(--wash);
  aspect-ratio: 16 / 10; border: 1px solid var(--border-soft);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 {
  font-size: 17.5px; line-height: 1.35; margin: 13px 0 7px; font-weight: 700; letter-spacing: -.01em;
}
.card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------------- artigo ---------------- */
.art-head { padding: 40px 0 26px; text-align: center; }
.art-head h1 {
  font-size: 40px; line-height: 1.15; letter-spacing: -.025em; font-weight: 800;
  margin: 14px 0 14px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.art-head .chapeau {
  font-size: 18px; color: var(--text-muted); max-width: 680px; margin: 0 auto;
}
@media (max-width: 700px) { .art-head h1 { font-size: 28px; } .art-head .chapeau { font-size: 16px; } }

.art-cover { max-width: var(--maxw); margin: 0 auto 8px; padding: 0 20px; }
.art-cover img { width: 100%; border-radius: 16px; aspect-ratio: 16/8; object-fit: cover; }
.art-cover figcaption { font-size: 12.5px; color: var(--text-soft); margin-top: 8px; text-align: center; }

.art-body { padding: 34px 0 10px; font-size: 17px; line-height: 1.75; }
.art-body p { margin: 0 0 20px; color: #1f1f1f; }
.art-body h2 {
  font-size: 25px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em;
  margin: 40px 0 14px;
}
.art-body h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; }
.art-body ul, .art-body ol { margin: 0 0 20px; padding-left: 22px; }
.art-body li { margin-bottom: 9px; color: #1f1f1f; }
.art-body strong { font-weight: 700; }
.art-body a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.art-body img { border-radius: 12px; margin: 26px 0; }
.art-body figure { margin: 26px 0; }
.art-body figure img { margin: 0; }
.art-body figcaption { font-size: 12.5px; color: var(--text-soft); margin-top: 8px; }

.note {
  background: var(--wash); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin: 26px 0; font-size: 15.5px;
}
.note strong { display: block; margin-bottom: 5px; }

table.tbl { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
table.tbl th, table.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; }
table.tbl th { font-weight: 700; background: var(--wash); font-size: 13.5px; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------- bloco de oferta ---------------- */
.offer {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1fr; margin: 40px 0;
  background: var(--card); box-shadow: var(--shadow-lg);
}
.offer img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.offer-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.offer-body h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 8px; }
.offer-body p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.offer-price b { font-size: 28px; font-weight: 800; }
.offer-price s { color: var(--text-soft); font-size: 16px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; text-align: center;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
@media (max-width: 780px) {
  .offer { grid-template-columns: 1fr; }
  .offer img { height: 200px; min-height: 0; }
  .offer-body { padding: 22px 20px; }
}

/* ---------------- rodapé ---------------- */
.bfoot { border-top: 1px solid var(--border); margin-top: 60px; padding: 40px 0 28px; background: var(--wash); }
.bfoot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.bfoot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.bfoot ul { list-style: none; }
.bfoot li { margin-bottom: 8px; }
.bfoot a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.bfoot a:hover { color: var(--text); text-decoration: underline; }
.bfoot-bottom {
  max-width: var(--maxw); margin: 28px auto 0; padding: 18px 20px 0; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-soft); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between;
}
.bfoot-bottom a { color: var(--text-soft); }
@media (max-width: 700px) { .bfoot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- aviso de cookies ---------------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); padding: 12px 16px 14px;
  transform: translateY(100%); transition: transform .35s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-title { font-weight: 700; font-size: 14px; }
.cookie-desc { font-size: 12.5px; color: var(--text-muted); }
.cookie-desc a { color: var(--text-muted); }
.cookie-actions { display: flex; gap: 8px; margin-left: auto; }
/* A CNIL exige que recusar seja tão fácil quanto aceitar: mesmos
   tamanho, formato e legibilidade nos dois botões. */
.cookie-btn-accept, .cookie-btn-reject {
  flex: 1; min-width: 132px; height: 40px; border-radius: 6px; font-size: 13px;
  cursor: pointer; font-family: inherit; text-align: center;
}
.cookie-btn-accept { background: #111; color: #fff; border: 1px solid #111; font-weight: 600; }
.cookie-btn-reject { background: transparent; color: #525252; border: 1px solid #d4d4d8; font-weight: 500; }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-actions { margin-left: 0; }
}
