/* Blog Dolcezza — identidade visual do site oficial */
:root {
  --red: #991919;
  --red-deep: #751111;
  --red-darker: #650001;
  --red-panel: #861515;
  --gold: #fdce47;
  --gold-1: #f6b936;
  --gold-2: #f8e492;
  --gold-band: #f6b937;
  --gold-grad: linear-gradient(122deg, var(--gold-1) 0%, var(--gold-2) 100%);
  --cream: #fffaf0;
  --paper: #fffdf8;
  --ink: #3b2324;
  --ink-soft: #6e5455;
  --line-gold: rgba(248, 228, 146, .35);
  --serif: 'Abhaya Libre', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(40, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--red); color: #fff; font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.ic { flex: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; background: #fff; color: var(--red); padding: 8px 14px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Botões em pílula como no site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 34px; border-radius: 42px; font: 600 17px/1.1 var(--serif); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); filter: brightness(1.04); }
.btn-gold { background: var(--gold-grad); color: #000; }
.btn-red { background: var(--red-deep); color: var(--gold-2); }
.btn-sm { padding: 10px 22px; font-size: 16px; }

/* Topo */
.topbar { background: linear-gradient(106deg, var(--gold-1) 0%, var(--gold-2) 100%); color: var(--red-darker); text-align: center; font-size: 15px; padding: 7px 16px; }
.topbar strong { font-weight: 700; }
.site-header { background: var(--red); border-bottom: 1px solid var(--line-gold); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.brand img { width: 190px; }
.brand-tag { font: 600 13px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); border-left: 1px solid var(--line-gold); padding: 4px 0 4px 10px; margin-bottom: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--gold-2); text-decoration: none; font-size: 16px; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--gold); font-weight: 600; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-gold); color: var(--gold-1); border-radius: 8px; padding: 6px; cursor: pointer; }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero-sm { padding: 64px 0 36px; border-bottom: 1px solid var(--line-gold); margin-bottom: 48px; }
.kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px; font: 600 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.kicker span { width: 46px; height: 1px; background: var(--gold-grad); }
.hero h1 { font: 600 clamp(36px, 5.4vw, 60px)/1.08 var(--serif); color: var(--gold); margin: 0 auto 18px; max-width: 900px; letter-spacing: -.01em; }
.lead { font-weight: 300; font-size: clamp(16px, 1.8vw, 19px); max-width: 680px; margin: 0 auto; color: #fff; }
.count { margin: 18px 0 0; color: var(--gold-2); font-size: 14px; letter-spacing: .08em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chips a { padding: 8px 18px; border: 1px solid var(--gold-1); border-radius: 30px; color: var(--gold-2); text-decoration: none; font-size: 14px; transition: background .2s, color .2s; }
.chips a:hover, .chips a.on { background: var(--gold-grad); color: var(--red-darker); border-color: transparent; font-weight: 600; }

/* Destaque */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); color: var(--ink); border-radius: 30px; overflow: hidden; margin: 18px 0 64px; box-shadow: var(--shadow); position: relative; }
.featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.featured-media { min-height: 420px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.eyebrow { margin: 0; font: 600 12px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow a { text-decoration: none; }
.featured .eyebrow { color: var(--red); }
.featured h2 { margin: 0; font: 700 clamp(28px, 3.2vw, 40px)/1.12 var(--serif); color: var(--red-deep); }
.featured h2 a { text-decoration: none; }
.featured h2 a:hover { color: var(--red); }
.featured-excerpt { margin: 0; color: var(--ink-soft); }
.featured .meta { color: var(--ink-soft); }

/* Grade de conteúdo + barra lateral */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 72px; }
.section-title { font: 600 32px/1.2 var(--serif); color: var(--gold); margin: 0 0 26px; display: flex; align-items: center; gap: 18px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-1), transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }

/* Cartões no estilo dos depoimentos: branco com moldura dourada */
.card { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); border: 2px solid var(--gold-1); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -20px rgba(30,0,0,.7); }
.card-media { aspect-ratio: 16 / 11; overflow: hidden; display: block; background: var(--red-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.06); }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--red), var(--red-darker)); }
.cover-ph img { width: 72px; height: 72px; opacity: .9; }
.card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font: 700 23px/1.18 var(--serif); color: var(--red-deep); }
.card h3 a { text-decoration: none; background: linear-gradient(var(--gold-1), var(--gold-1)) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.card h3 a:hover { background-size: 100% 2px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; flex: 1; }
.pill { align-self: flex-start; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--red); background: rgba(246,185,54,.18); border: 1px solid rgba(246,185,54,.6); padding: 6px 11px; border-radius: 30px; }
.pill-gold { background: var(--gold-grad); color: var(--red-darker); border: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-soft); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Barra lateral */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: rgba(255,255,255,.04); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 24px; }
.widget-title { font: 600 22px/1.2 var(--serif); color: var(--gold); margin: 0 0 16px; }
.widget-search { padding: 8px; }
.widget-search form { display: flex; }
.widget-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 15px var(--sans); padding: 10px 14px; }
.widget-search input::placeholder { color: rgba(248,228,146,.7); }
.widget-search input:focus { outline: none; }
.widget-search button { background: var(--gold-grad); color: var(--red-darker); border: 0; border-radius: 14px; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.widget-search:focus-within { border-color: var(--gold); }
.widget-author { text-align: center; background: var(--paper); color: var(--ink); border: 2px solid var(--gold-1); }
.author-photo { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; padding: 3px; background: var(--gold-grad); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--red); }
.widget-author h3 { font: 700 24px/1.2 var(--serif); color: var(--red-deep); margin: 0 0 8px; }
.widget-author p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-gold); text-decoration: none; color: #fff; transition: color .2s, padding .2s; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--gold); padding-left: 6px; }
.cat-list em { font-style: normal; font-size: 12px; min-width: 28px; text-align: center; padding: 3px 8px; border-radius: 20px; background: var(--gold-grad); color: var(--red-darker); font-weight: 700; }
.popular { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.popular a { display: flex; gap: 14px; text-decoration: none; }
.popular .num { font: 700 30px/1 var(--serif); color: var(--gold-1); min-width: 36px; }
.popular strong { display: block; font: 600 17px/1.25 var(--serif); color: #fff; }
.popular a:hover strong { color: var(--gold); }
.popular small { color: var(--gold-2); font-size: 12px; }
.widget-cta { background: var(--gold-band); color: var(--red-darker); border: 0; text-align: center; }
.widget-cta img { width: 64px; margin: 0 auto 10px; }
.widget-cta h3 { font: 700 23px/1.2 var(--serif); margin: 0 0 8px; color: var(--red-deep); }
.widget-cta p { margin: 0 0 18px; font-size: 14px; }
.widget-cta .btn { width: 100%; padding-inline: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line-gold); color: var(--gold-2); transition: background .2s, color .2s; }
.tags a:hover { background: var(--gold-grad); color: var(--red-darker); }
.widget-insta a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-2); font-size: 14px; }
.widget-insta .ic { color: var(--gold-1); }

/* Paginação */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--gold-1); color: var(--gold-2); text-decoration: none; font-weight: 500; }
.pagination span[aria-current] { background: var(--gold-grad); color: var(--red-darker); border-color: transparent; font-weight: 700; }
.pagination a:hover { background: rgba(246,185,54,.15); }

.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-gold); border-radius: var(--radius); color: var(--gold-2); }
.empty img { margin: 0 auto 14px; }

/* Faixa dourada (como a seção amarela do site) */
.band { background: var(--gold-band); color: var(--red-darker); padding: 72px 0; }
.band-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.band blockquote { margin: 0; font: 600 clamp(24px, 3vw, 36px)/1.3 var(--serif); max-width: 860px; color: var(--red-deep); }
.band cite { display: block; margin-top: 14px; font: 400 16px var(--sans); font-style: normal; color: var(--red-darker); }

/* Página da matéria */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); }
.preview-bar { background: var(--gold-grad); color: var(--red-darker); text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.post-hero { text-align: center; padding: 56px 0 40px; }
.crumbs { font-size: 13px; color: var(--gold-2); margin-bottom: 22px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { opacity: .6; margin: 0 6px; }
.post-hero .pill { display: inline-block; margin-bottom: 18px; }
.post-hero h1 { font: 600 clamp(34px, 5vw, 58px)/1.1 var(--serif); color: var(--gold); margin: 0 0 18px; }
.byline { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; }
.byline strong { display: block; font: 700 18px var(--serif); color: var(--gold-2); }
.byline .meta { color: #fff; opacity: .9; }
.avatar { width: 52px; height: 52px; border-radius: 50%; padding: 2px; background: var(--gold-grad); flex: none; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--red); }
.avatar.lg { width: 84px; height: 84px; }
.post-cover { margin: 0 auto 48px; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; object-position: 50% 30%; border-radius: 30px; border: 2px solid var(--gold-1); box-shadow: var(--shadow); }
.paper { background: var(--paper); color: var(--ink); border-radius: 30px; padding: clamp(26px, 5vw, 64px); box-shadow: var(--shadow); border: 2px solid var(--gold-1); min-width: 0; }

.prose { font-size: 17.5px; line-height: 1.85; }
.prose > *:first-child { margin-top: 0; }
.prose > p:first-child::first-letter { float: left; font: 700 4.4em/.82 var(--serif); color: var(--red); margin: .08em .12em 0 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font: 700 34px/1.2 var(--serif); color: var(--red); margin: 1.6em 0 .6em; }
.prose h3 { font: 700 26px/1.25 var(--serif); color: var(--red-deep); margin: 1.5em 0 .5em; }
.prose h4 { font: 600 18px/1.3 var(--sans); color: var(--red-deep); margin: 1.4em 0 .5em; }
.prose a { color: var(--red); text-decoration: underline; text-decoration-color: var(--gold-1); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: rgba(246,185,54,.2); }
.prose strong { color: #2a1213; }
.prose blockquote { margin: 2em 0; padding: 22px 28px; border-left: 4px solid var(--gold-1); background: linear-gradient(90deg, rgba(246,185,54,.14), transparent); border-radius: 0 18px 18px 0; font: 600 italic 25px/1.4 var(--serif); color: var(--red-deep); }
.prose blockquote p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose ul li::marker { color: var(--gold-1); }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose img { border-radius: 18px; margin: 2em auto; }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; font-style: italic; }
.prose hr { border: 0; height: 1px; margin: 2.4em auto; width: 40%; background: var(--gold-grad); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.prose th, .prose td { border: 1px solid #ecd9b0; padding: 10px 12px; text-align: left; }
.prose th { background: rgba(246,185,54,.18); }
.prose .btn-cta { display: inline-block; text-decoration: none; background: var(--gold-grad); color: #000; padding: 12px 30px; border-radius: 42px; font: 600 17px var(--serif); }

.post-tags { margin-top: 32px; }
.post-tags a { color: var(--red-deep); border-color: #ecd9b0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding: 22px 0; border-top: 1px solid #f0e2c3; border-bottom: 1px solid #f0e2c3; }
.share span { font: 700 19px var(--serif); color: var(--red-deep); margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--gold-2); border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.share a:hover, .share button:hover { transform: translateY(-2px); background: var(--red-deep); }
.share button.ok { background: var(--gold-1); color: var(--red-darker); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, rgba(246,185,54,.16), rgba(248,228,146,.08)); }
.author-box h3 { font: 700 24px var(--serif); color: var(--red-deep); margin: 4px 0 6px; }
.author-box p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.author-box .eyebrow { color: var(--red); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav a { padding: 18px 20px; border: 1px solid #f0e2c3; border-radius: 18px; text-decoration: none; transition: border-color .2s, background .2s; }
.post-nav a:hover { border-color: var(--gold-1); background: rgba(246,185,54,.08); }
.post-nav small { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; font-size: 11px; letter-spacing: .16em; color: var(--red); font-weight: 600; }
.post-nav strong { display: block; font: 700 19px/1.25 var(--serif); color: var(--red-deep); margin-top: 6px; }
.post-nav .next { text-align: right; }
.related { padding-bottom: 72px; }

/* Rodapé */
.site-footer { background: var(--red); border-top: 1px solid var(--line-gold); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { width: 220px; margin-bottom: 16px; }
.site-footer p { font-size: 14px; font-weight: 300; margin: 0 0 18px; }
.site-footer h3 { font: 600 22px var(--serif); color: var(--gold); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; color: var(--gold-2); font-size: 15px; }
.site-footer ul a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--red-deep); transition: transform .2s; }
.social a:hover { transform: translateY(-3px); }
.footer-bottom { text-align: center; padding: 22px 16px; border-top: 1px solid var(--line-gold); }
.footer-bottom p { margin: 2px 0; font-size: 13px; }

.notfound { border: 0; padding: 120px 0; }
.notfound .btn { margin-top: 28px; }

/* Animação de entrada */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start; gap: 6px; padding: 90px 28px 28px; background: var(--red-deep); transform: translateX(105%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; z-index: 50; }
  .nav.open { transform: none; visibility: visible; transition: transform .35s ease; box-shadow: -20px 0 40px rgba(0,0,0,.35); }
  .nav a:not(.btn) { font-size: 18px; padding: 10px 0; }
  .nav .btn { margin-top: 14px; }
  .menu-toggle[aria-expanded="true"] { position: relative; z-index: 60; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .topbar { font-size: 13px; }
  .header-inner { min-height: 76px; }
  .brand img { width: 150px; }
  .hero { padding: 48px 0 28px; }
  .grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .author-box { flex-direction: column; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 28px; }
  .prose blockquote { font-size: 21px; padding: 18px 20px; }
  .paper { border-radius: 22px; }
  .post-cover img { border-radius: 20px; }
}
