:root {
  --navy:#0A2540; --blue:#0055A4; --gold:#C9A24B; --gold-soft:#e3c884;
  --ink:#0A2540; --muted:#5A6B7B; --muted-2:#8A99A8; --bg:#F5F7FA; --white:#FFFFFF;
  --green:#00875A; --r1:12px; --r2:20px; --r3:28px; --maxw:760px; --maxw-wide:1140px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--ink); line-height:1.7; overflow-x:hidden; }
a { text-decoration:none; color:var(--blue); }
img { max-width:100%; display:block; }
.wrap { max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.wrap-wide { max-width:var(--maxw-wide); margin:0 auto; padding:0 24px; }
h1,h2,h3,h4 { font-family:'Fraunces',Georgia,serif; font-weight:600; line-height:1.2; letter-spacing:-0.02em; color:var(--navy); }

/* Header */
.hd { position:sticky; top:0; z-index:100; background:rgba(245,247,250,0.9); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid rgba(10,37,64,0.08); }
.hd-in { display:flex; align-items:center; justify-content:space-between; height:66px; max-width:var(--maxw-wide); margin:0 auto; padding:0 24px; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-logo { width:38px; height:38px; border-radius:10px; background:var(--navy); position:relative; flex-shrink:0; }
.brand-logo .bar { position:absolute; bottom:10px; width:4px; background:var(--gold); border-radius:1px; }
.brand-logo .b1 { left:9px; height:7px; } .brand-logo .b2 { left:16px; height:13px; } .brand-logo .b3 { left:23px; height:19px; }
.brand-logo .dollar { position:absolute; top:6px; right:7px; color:var(--gold); font-size:10px; font-weight:700; }
.brand-name { font-family:'Fraunces',serif; font-weight:700; font-size:19px; color:var(--navy); }
.hd-nav { display:flex; gap:24px; align-items:center; }
.hd-nav a { color:var(--muted); font-size:14px; font-weight:500; }
.hd-nav a:hover { color:var(--navy); }
.hd-cta { background:var(--navy); color:var(--white) !important; padding:9px 20px; border-radius:99px; font-weight:600; font-size:13px; transition:background 0.2s; }
.hd-cta:hover { background:var(--blue); }

/* Breadcrumb */
.crumb { font-size:13px; color:var(--muted-2); padding:24px 0 0; }
.crumb a { color:var(--muted); }

/* Article */
.article { padding:32px 0 60px; }
.article-tag { display:inline-block; color:var(--gold); font-weight:700; font-size:12px; letter-spacing:2px; text-transform:uppercase; margin-bottom:16px; }
.article h1 { font-size:40px; margin-bottom:18px; line-height:1.15; }
.article-meta { display:flex; gap:16px; align-items:center; font-size:13px; color:var(--muted-2); margin-bottom:36px; padding-bottom:24px; border-bottom:1px solid rgba(10,37,64,0.08); }
.article-meta .author { font-weight:600; color:var(--muted); }
.article-body p { font-size:17px; color:#2c3e50; margin-bottom:22px; }
.article-body h2 { font-size:28px; margin:42px 0 16px; }
.article-body h3 { font-size:21px; margin:32px 0 12px; color:var(--blue); }
.article-body ul, .article-body ol { margin:0 0 22px 24px; }
.article-body li { font-size:17px; color:#2c3e50; margin-bottom:10px; }
.article-body strong { color:var(--navy); font-weight:600; }
.article-body blockquote { border-left:4px solid var(--gold); background:var(--white); padding:18px 24px; border-radius:0 var(--r1) var(--r1) 0; margin:0 0 24px; font-size:17px; color:var(--muted); font-style:italic; box-shadow:0 2px 10px rgba(10,37,64,0.04); }
.article-body .callout { background:var(--navy); color:#fff; border-radius:var(--r2); padding:28px 30px; margin:32px 0; }
.article-body .callout h3 { color:var(--gold); margin-top:0; }
.article-body .callout p { color:rgba(255,255,255,0.85); margin-bottom:0; }
.article-body .callout a { color:var(--gold-soft); font-weight:600; }
.article-body table { width:100%; border-collapse:collapse; margin:0 0 24px; font-size:15px; }
.article-body th { background:var(--navy); color:#fff; padding:12px 14px; text-align:left; font-family:'Inter'; font-weight:600; }
.article-body td { padding:12px 14px; border-bottom:1px solid rgba(10,37,64,0.08); color:#2c3e50; }
.article-body tr:nth-child(even) td { background:rgba(10,37,64,0.02); }

/* Ad slot */
.ad-slot { padding:28px 0; }
.ad-box { max-width:728px; margin:0 auto; min-height:90px; background:rgba(10,37,64,0.03); border:1px dashed rgba(10,37,64,0.12); border-radius:var(--r1); display:flex; align-items:center; justify-content:center; color:var(--muted-2); font-size:11px; letter-spacing:1px; }

/* CTA inline */
.cta-inline { background:var(--white); border:1px solid rgba(10,37,64,0.08); border-radius:var(--r2); padding:32px; text-align:center; margin:40px 0; box-shadow:0 4px 20px rgba(10,37,64,0.05); }
.cta-inline h3 { font-size:24px; margin-bottom:10px; }
.cta-inline p { color:var(--muted); margin-bottom:22px; font-size:16px; }
.btn-primary { background:var(--navy); color:#fff !important; padding:14px 30px; border-radius:99px; font-weight:600; font-size:16px; display:inline-flex; align-items:center; gap:8px; transition:background 0.2s,transform 0.2s; }
.btn-primary:hover { background:var(--blue); transform:translateY(-2px); }

/* Related */
.related { padding:50px 0; background:var(--white); border-top:1px solid rgba(10,37,64,0.06); }
.related h2 { font-size:26px; margin-bottom:24px; text-align:center; }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:var(--maxw-wide); margin:0 auto; padding:0 24px; }
.rc { background:var(--bg); border-radius:var(--r2); padding:24px; border:1px solid rgba(10,37,64,0.05); transition:transform 0.3s,box-shadow 0.3s; }
.rc:hover { transform:translateY(-4px); box-shadow:0 16px 32px rgba(10,37,64,0.08); }
.rc .t { color:var(--gold); font-size:11px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; }
.rc h3 { font-size:18px; margin:8px 0; line-height:1.3; }
.rc p { font-size:14px; color:var(--muted); }

/* Index / hero */
.blog-hero { padding:60px 0 40px; text-align:center; }
.blog-hero .tag { color:var(--gold); font-weight:700; font-size:13px; letter-spacing:2px; text-transform:uppercase; }
.blog-hero h1 { font-size:46px; margin:14px 0 16px; }
.blog-hero p { font-size:19px; color:var(--muted); max-width:560px; margin:0 auto; }
.posts-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; padding-bottom:60px; }
.post-card { background:var(--white); border-radius:var(--r2); overflow:hidden; border:1px solid rgba(10,37,64,0.06); transition:transform 0.3s,box-shadow 0.3s; display:flex; flex-direction:column; }
.post-card:hover { transform:translateY(-5px); box-shadow:0 20px 40px rgba(10,37,64,0.1); }
.post-thumb { height:160px; background:linear-gradient(135deg,var(--navy),var(--blue)); position:relative; display:flex; align-items:center; justify-content:center; }
.post-thumb .emoji { font-size:52px; }
.post-thumb.g2 { background:linear-gradient(135deg,#0d2f52,#0077CC); }
.post-thumb.g3 { background:linear-gradient(135deg,var(--navy),#1a4d2e); }
.post-thumb.g4 { background:linear-gradient(135deg,#3a2d52,var(--blue)); }
.post-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.post-body .t { color:var(--gold); font-size:11px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; }
.post-body h2 { font-size:22px; margin:8px 0 10px; line-height:1.25; }
.post-body p { font-size:15px; color:var(--muted); flex:1; }
.post-body .read { margin-top:16px; color:var(--blue); font-weight:600; font-size:14px; }

/* Footer */
.ft { background:var(--navy); color:rgba(255,255,255,0.7); padding:48px 0 24px; margin-top:0; }
.ft-grid { display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; margin-bottom:32px; max-width:var(--maxw-wide); margin-left:auto; margin-right:auto; padding:0 24px; }
.ft-brand { max-width:300px; }
.ft-brand .brand-name { color:#fff; }
.ft-brand p { font-size:14px; margin-top:12px; color:rgba(255,255,255,0.6); }
.ft-links { display:flex; gap:48px; flex-wrap:wrap; }
.ft-col h4 { color:#fff; font-family:'Inter'; font-size:14px; font-weight:700; margin-bottom:12px; }
.ft-col a { display:block; font-size:14px; color:rgba(255,255,255,0.6); margin-bottom:9px; }
.ft-col a:hover { color:var(--gold); }
.ft-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; max-width:var(--maxw-wide); margin:0 auto; padding-left:24px; padding-right:24px; }
.ft-acm a { color:var(--gold-soft); font-weight:600; }

@media (max-width:760px) {
  .article h1 { font-size:30px; }
  .blog-hero h1 { font-size:32px; }
  .posts-grid { grid-template-columns:1fr; }
  .related-grid { grid-template-columns:1fr; }
  .hd-nav a:not(.hd-cta) { display:none; }
  .article-body h2 { font-size:23px; }
}

/* ── 3D Theme ── */

/* Cards 3D */
.post-card { box-shadow:0 2px 6px rgba(10,37,64,0.03),0 8px 24px rgba(10,37,64,0.06); transition:transform 0.4s cubic-bezier(0.22,0.61,0.36,1),box-shadow 0.4s ease; }
.post-card:hover { transform:translateY(-8px); box-shadow:0 4px 12px rgba(10,37,64,0.05),0 20px 48px rgba(10,37,64,0.12); }
.rc { box-shadow:0 2px 6px rgba(10,37,64,0.03),0 8px 20px rgba(10,37,64,0.05); transition:transform 0.3s ease,box-shadow 0.3s ease; }
.rc:hover { transform:translateY(-6px); box-shadow:0 4px 12px rgba(10,37,64,0.05),0 16px 36px rgba(10,37,64,0.1); }

/* Callout 3D */
.callout { box-shadow:-4px 0 0 var(--gold),0 4px 20px rgba(10,37,64,0.08); }

/* Article depth */
.article { box-shadow:0 2px 6px rgba(10,37,64,0.03),0 8px 24px rgba(10,37,64,0.06),0 24px 48px rgba(10,37,64,0.04); border-radius:var(--r3); }

/* Botões 3D */
.btn-primary, .hd-cta { box-shadow:0 4px 0 #051a30,0 6px 16px rgba(0,0,0,0.12); transition:transform 0.15s,box-shadow 0.15s; }
.btn-primary:hover, .hd-cta:hover { transform:translateY(-2px); box-shadow:0 6px 0 #051a30,0 10px 24px rgba(0,0,0,0.18); }
.btn-primary:active, .hd-cta:active { transform:translateY(2px); box-shadow:0 2px 0 #051a30,0 3px 8px rgba(0,0,0,0.08); }

/* Reading progress bar */
.read-bar { position:fixed; top:0; left:0; height:3px; background:linear-gradient(90deg,var(--gold),var(--blue)); z-index:200; box-shadow:0 2px 8px rgba(201,162,75,0.3); transition:width 0.1s; }
