/*
Theme Name: Pezinho e Cia Editorial
Author: Pezinho e Cia
Version: 1.1.0
Description: Blog editorial responsivo da Pezinho e Cia.
Text Domain: pezinho-editorial
*/
:root {
  --blue: #008db8;
  --blue-dark: #087b9f;
  --blue-ink: #176d89;
  --orange: #ff8c3d;
  --orange-dark: #e76509;
  --canvas: #f9f9f9;
  --paper: #fff;
  --ink: #243d4a;
  --muted: #526a76;
  --line: #d6e7ed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Comfortaa, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 16px; padding: 12px 16px; background: var(--paper); color: var(--blue-ink); }
.skip-link:focus { top: 12px; }
.announcement { background: #f17700; color: var(--paper); font-size: .78rem; }
.announcement-inner { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.announcement a { color: var(--paper); font-weight: 700; }
.announcement a:hover { text-decoration: underline; }
.site-header { background: var(--blue); padding: 36px 0 0; }
.header-shell { position: relative; z-index: 2; }
.header-inner { background: var(--paper); border-radius: 100px; min-height: 76px; padding: 14px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: var(--blue-ink); }
.brand img { width: 166px; height: 36px; object-fit: contain; }
.blog-label { border-left: 1px solid var(--line); padding-left: 14px; font-size: 1rem; font-weight: 700; }
.header-store { border: 1px solid var(--blue); color: var(--blue-ink); border-radius: 100px; padding: 10px 20px; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.header-store:hover { background: var(--blue); color: var(--paper); }
.nav { min-height: 52px; margin: -9px 15px 0; padding: 16px 20px 7px; border-radius: 0 0 28px 28px; background: var(--orange); display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a { color: var(--paper); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; }
.hero { background: var(--blue); color: var(--paper); padding: 50px 0 74px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; bottom: -38px; left: -2%; width: 104%; height: 75px; background: var(--canvas); border-radius: 50% 50% 0 0; }
.hero .container { position: relative; z-index: 1; }
.eyebrow { color: var(--orange-dark); font-size: .75rem; letter-spacing: .09em; font-weight: 700; text-transform: uppercase; }
.hero .eyebrow { color: #ffe6cd; }
.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.85rem); line-height: 1.13; letter-spacing: -.045em; max-width: 780px; margin: 12px 0 18px; }
.hero p { font-size: 1rem; max-width: 680px; margin: 0; line-height: 1.8; }
.category-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 34px 0 26px; }
.category-pill { min-height: 42px; display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--blue-ink); font-size: .78rem; font-weight: 700; }
.category-pill:hover, .category-pill.is-active { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 14px 0 24px; }
.section-head h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); letter-spacing: -.035em; line-height: 1.2; margin: 7px 0 0; color: var(--blue-ink); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; padding-bottom: 72px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.post-image { display: block; aspect-ratio: 1.52; background: #d8eff4; overflow: hidden; }
.post-image img { height: 100%; width: 100%; object-fit: cover; display: block; }
.post-image--fallback { display: grid; place-items: center; color: var(--blue-ink); }
.image-fallback-text { font-size: 1.2rem; font-weight: 700; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-category { color: #b75106; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.post-card h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; color: var(--blue-ink); margin: 10px 0 12px; }
.post-card p { color: var(--muted); font-size: .86rem; line-height: 1.7; margin: 0 0 24px; }
.post-more { color: var(--orange-dark); font-size: .87rem; font-weight: 700; margin-top: auto; }
.empty-state { padding: 40px 0 90px; color: var(--muted); }
.single-wrap { max-width: 780px; margin: 58px auto 85px; }
.breadcrumbs { color: var(--muted); font-size: .8rem; margin-bottom: 25px; }
.breadcrumbs a { color: var(--blue-ink); }
.single-title { color: var(--blue-ink); font-size: clamp(2.05rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.04em; margin: 12px 0 18px; }
.single-meta { color: var(--muted); font-size: .82rem; margin-bottom: 32px; }
.single-cover { border-radius: 20px; overflow: hidden; margin-bottom: 42px; }
.single-cover img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.article-content { font-family: Arial, Helvetica, sans-serif; font-size: 1.07rem; line-height: 1.85; color: var(--ink); }
.article-content h2, .article-content h3 { font-family: Comfortaa, Arial, sans-serif; color: var(--blue-ink); line-height: 1.3; letter-spacing: -.025em; margin-top: 1.8em; }
.article-content a { color: var(--blue-ink); text-decoration: underline; }
.article-content img { border-radius: 14px; }
.article-content blockquote { border: 1px solid var(--line); border-radius: 14px; margin: 30px 0; padding: 18px 24px; background: var(--paper); }
.article-content ul, .article-content ol { padding-left: 25px; }
.article-content table { display: block; overflow-x: auto; }
.back-link { display: inline-block; margin-top: 44px; color: var(--orange-dark); font-size: .9rem; font-weight: 700; }
.pagination { padding: 0 0 65px; display: flex; gap: 10px; }
.pagination a, .pagination span { background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px; }
.pagination .current { background: var(--blue); color: var(--paper); }
.search-form { display: flex; gap: 8px; width: 100%; max-width: 370px; }
.search-form input { padding: 10px 15px; min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); font-size: .8rem; }
.search-form button { border: 0; border-radius: 100px; background: var(--orange); color: var(--paper); padding: 10px 17px; cursor: pointer; font-size: .8rem; font-weight: 700; }
.search-form button:hover { background: var(--orange-dark); }
.site-footer { background: var(--blue); color: var(--paper); padding: 46px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner img { background: var(--paper); border-radius: 100px; width: 190px; height: auto; padding: 10px 13px; }
.footer-inner p { margin: 11px 0 0; font-size: .82rem; }
.footer-inner > a { color: var(--paper); font-size: .87rem; font-weight: 700; }
.footer-inner > a:hover { text-decoration: underline; }
@media (max-width: 850px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { padding-top: 22px; }
  .nav { gap: 8px 18px; }
}
@media (max-width: 600px) {
  .announcement-inner { justify-content: center; min-height: 38px; text-align: center; }
  .announcement a { display: none; }
  .header-inner { min-height: 65px; padding: 10px 16px; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 126px; height: auto; }
  .blog-label { padding-left: 8px; font-size: .8rem; }
  .header-store { font-size: .7rem; padding: 7px 9px; }
  .nav { margin: -6px 9px 0; padding: 14px 8px 11px; gap: 8px 15px; border-radius: 0 0 18px 18px; }
  .nav a { font-size: .72rem; }
  .hero { padding: 36px 0 57px; }
  .hero::after { bottom: -27px; height: 54px; }
  .hero h1 { font-size: 2.35rem; }
  .hero p { font-size: .88rem; }
  .category-bar { padding: 25px 0 18px; gap: 8px; }
  .category-pill { font-size: .7rem; min-height: 38px; padding: 8px 12px; }
  .section-head { align-items: stretch; flex-direction: column; gap: 17px; }
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .post-image { aspect-ratio: 1.65; }
  .post-body { padding: 20px; }
  .single-wrap { margin: 35px auto 65px; }
  .search-form { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .search-form input { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .post-card { transition: none; }
}
