/* ============================================================
   PetDex – Design System (tema Pokédex, limpo e consistente)
   ============================================================ */

/* ── Variáveis ──────────────────────────────────────────────── */
:root {
  /* Brand PetDex */
  --pdx-red:       #DC2626;
  --pdx-red-dark:  #B91C1C;
  --pdx-red-light: #FEF2F2;
  --pdx-yellow:    #FBBF24;
  --pdx-yellow-dk: #D97706;
  --pdx-yellow-light: #FEF3C7;
  --pdx-dark:      #0F172A;
  --pdx-navy:      #1E293B;

  /* Cores por categoria */
  --dog:         #F97316;
  --dog-dark:    #C2410C;
  --dog-light:   #FFF7ED;
  --cat:         #8B5CF6;
  --cat-dark:    #6D28D9;
  --cat-light:   #F5F3FF;
  --bird:        #10B981;
  --bird-dark:   #047857;
  --bird-light:  #ECFDF5;

  /* UI */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --border:    #E2E8F0;
  --bg:        #F8FAFC;
  --surface:   #FFFFFF;
  --card-shadow:       0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --card-shadow-hover: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  --radius:    14px;
  --radius-sm: 10px;
  --transition: all .2s cubic-bezier(.4,0,.2,1);

  /* Tipos Pokémon */
  --type-fire-bg:      #FEE2E2; --type-fire-text:      #B91C1C;
  --type-water-bg:     #DBEAFE; --type-water-text:     #1D4ED8;
  --type-grass-bg:     #D1FAE5; --type-grass-text:     #047857;
  --type-electric-bg:  #FEF3C7; --type-electric-text:  #A16207;
  --type-psychic-bg:   #FCE7F3; --type-psychic-text:   #BE185D;
  --type-normal-bg:    #F3F4F6; --type-normal-text:    #374151;
  --type-fighting-bg:  #FFE4E6; --type-fighting-text:  #BE123C;
  --type-ghost-bg:     #EDE9FE; --type-ghost-text:     #6D28D9;
  --type-fairy-bg:     #FAE8FF; --type-fairy-text:     #9D174D;
  --type-rock-bg:      #FEF3C7; --type-rock-text:      #854D0E;
  --type-dark-bg:      #E5E7EB; --type-dark-text:      #1F2937;
  --type-steel-bg:     #E2E8F0; --type-steel-text:     #475569;
  --type-ice-bg:       #CFFAFE; --type-ice-text:       #0E7490;
  --type-dragon-bg:    #DDD6FE; --type-dragon-text:    #4C1D95;
  --type-poison-bg:    #F5D0FE; --type-poison-text:    #7E22CE;
}

/* ── Dark mode ──────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:         #0A0E1A;
  --surface:    #111827;
  --border:     #1F2937;
  --text-primary:   #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;
  --card-shadow:       0 1px 3px rgba(0,0,0,.5);
  --card-shadow-hover: 0 8px 24px rgba(0,0,0,.6);
  --dog-light:   rgba(249,115,22,.12);
  --cat-light:   rgba(139,92,246,.12);
  --bird-light:  rgba(16,185,129,.12);
  --pdx-red-light: rgba(220,38,38,.1);
}
[data-theme="dark"] body { background: var(--bg); color: var(--text-primary); }
[data-theme="dark"] .pp-header            { background: #060B14; border-bottom-color: #1A2332; }
[data-theme="dark"] .pp-nav.open,
[data-theme="dark"] .pp-filter-bar,
[data-theme="dark"] .pp-breed-card,
[data-theme="dark"] .pp-blog-card,
[data-theme="dark"] .pp-section-card,
[data-theme="dark"] .pp-origin-card,
[data-theme="dark"] .pp-blog-featured,
[data-theme="dark"] .pp-related-card,
[data-theme="dark"] .pp-compare-bar,
[data-theme="dark"] .pp-nav-dropdown-menu,
[data-theme="dark"] .pp-raca-sidebar,
[data-theme="dark"] .pp-quick-stat,
[data-theme="dark"] .pp-affiliate,
[data-theme="dark"] .pp-compat-quiz,
[data-theme="dark"] .pp-quiz-card     { background: var(--surface); }
[data-theme="dark"] .pp-breed-card-footer,
[data-theme="dark"] .pp-blog-card-footer  { background: #0E1522; }
[data-theme="dark"] #ppSearchAC            { background: var(--surface) !important; border-color: var(--border) !important; }
[data-theme="dark"] #ppSearchAC a          { color: var(--text-primary) !important; }
[data-theme="dark"] .pp-trait-pill         { background: rgba(31,41,55,.6); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] a { color: var(--pdx-yellow); }
[data-theme="dark"] .pp-btn-outline { color: var(--text-secondary); }

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}
a { color: var(--pdx-red); text-decoration: none; }
a:hover { color: var(--pdx-red-dark); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: 'Nunito', sans-serif; }

/* ── Brand ──────────────────────────────────────────────────── */
.pp-brand {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pp-brand:hover { text-decoration: none; color: #fff; }
.pp-brand .pet   { color: var(--pdx-red); }
.pp-brand .pedia { color: var(--pdx-yellow); }
.pp-brand .paw   { font-size: 1.25rem; }

/* ── Header ─────────────────────────────────────────────────── */
.pp-header {
  background: var(--pdx-dark);
  border-bottom: 2px solid rgba(220,38,38,.35);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.pp-header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.25rem;
}
.pp-nav { display: flex; align-items: center; gap: .1rem; flex: 1; }
.pp-nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: var(--transition);
}
.pp-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.pp-nav-link.active-dog  { background: rgba(249,115,22,.2); color: #FB923C; }
.pp-nav-link.active-cat  { background: rgba(139,92,246,.2); color: #A78BFA; }
.pp-nav-link.active-bird { background: rgba(16,185,129,.2); color: #34D399; }
.pp-nav-link.active-home { background: rgba(251,191,36,.15); color: var(--pdx-yellow); }

/* Dropdown */
.pp-nav-dropdown { position: relative; }
.pp-nav-dropdown-toggle {
  display: flex; align-items: center; gap: .35rem;
  padding: .4rem .75rem; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  cursor: pointer; border: none; background: none;
  white-space: nowrap; transition: var(--transition);
  font-family: inherit;
}
.pp-nav-dropdown-toggle:hover { background: rgba(255,255,255,.08); color: #fff; }
.pp-nav-dropdown-toggle .pp-caret { font-size: .65rem; opacity: .5; transition: transform .2s; }
.pp-nav-dropdown:hover .pp-caret { transform: rotate(180deg); }
.pp-nav-dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  min-width: 215px; background: var(--pdx-navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  padding: .4rem 0; margin-top: 8px; z-index: 1100;
}
.pp-nav-dropdown-menu::before {
  content: ''; position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.pp-nav-dropdown:hover .pp-nav-dropdown-menu { display: block; }
.pp-nav-dropdown-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem; font-size: .87rem; font-weight: 600;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: background .15s;
}
.pp-nav-dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.pp-nav-dropdown-divider { height: 1px; background: rgba(255,255,255,.1); margin: .3rem 0; }

/* Search */
.pp-search-wrap { position: relative; }
.pp-search-wrap input {
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: .42rem 1rem .42rem 2.4rem;
  font-size: .88rem; font-weight: 600;
  width: 210px; transition: var(--transition);
  background: rgba(255,255,255,.08); color: #fff;
  font-family: 'Nunito', sans-serif;
}
.pp-search-wrap input::placeholder { color: rgba(255,255,255,.4); }
.pp-search-wrap input:focus {
  outline: none; border-color: var(--pdx-red);
  width: 260px; background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(220,38,38,.18);
}
.pp-search-icon {
  position: absolute; left: .85rem; top: 50%;
  transform: translateY(-50%); color: rgba(255,255,255,.4);
  font-size: .85rem;
}
#ppSearchAC {
  background: var(--pdx-navy) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
}
#ppSearchAC a { color: rgba(255,255,255,.85) !important; }
#ppSearchAC a:hover { background: rgba(255,255,255,.08) !important; }

.pp-mobile-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .35rem .5rem;
  color: rgba(255,255,255,.7);
  cursor: pointer;
}
#ppDarkToggle {
  border-color: rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.05) !important;
}
#ppDarkToggle:hover {
  border-color: var(--pdx-yellow) !important;
  color: var(--pdx-yellow) !important;
}
#ppFavIcon { color: rgba(255,255,255,.7) !important; }
#ppFavIcon:hover { color: #F43F5E !important; }

/* ── Hero ───────────────────────────────────────────────────── */
.pp-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 60%, #2D1200 100%);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  color: #fff;
}
.pp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(220,38,38,.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(139,92,246,.15) 0%, transparent 45%);
}
.pp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.pp-hero h1 .pet   { color: var(--pdx-red); }
.pp-hero h1 .pedia { color: var(--pdx-yellow); }
.pp-hero p { font-size: 1.05rem; opacity: .82; max-width: 540px; margin: 0 auto 1.75rem; font-weight: 500; }
.pp-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  border-radius: 99px;
  padding: .3rem .9rem;
  font-size: .72rem; font-weight: 800;
  color: rgba(255,255,255,.85);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.pp-hero-search {
  max-width: 520px; margin: 0 auto;
  display: flex; gap: .4rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: .4rem .4rem .4rem 1.2rem;
  border: 1px solid rgba(255,255,255,.18);
}
.pp-hero-search input {
  flex: 1; background: none; border: none;
  color: #fff; font-size: 1rem; font-weight: 600;
  outline: none; font-family: 'Nunito', sans-serif;
}
.pp-hero-search input::placeholder { color: rgba(255,255,255,.5); }
.pp-hero-search button {
  background: var(--pdx-red); color: #fff;
  border: none; border-radius: 40px;
  padding: .6rem 1.3rem; font-weight: 800; font-size: .9rem;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap; font-family: 'Nunito', sans-serif;
}
.pp-hero-search button:hover { background: var(--pdx-red-dark); }
.pp-hero-pills {
  margin-top: 1.5rem;
  display: flex; gap: .6rem;
  justify-content: center; flex-wrap: wrap;
}
.pp-hero-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 99px; padding: .4rem 1rem;
  font-size: .82rem; font-weight: 800;
  text-decoration: none; border: 1px solid transparent;
  transition: var(--transition);
}
.pp-hero-pill.dog  { background: rgba(249,115,22,.18); color: #FED7AA; border-color: rgba(249,115,22,.3); }
.pp-hero-pill.cat  { background: rgba(139,92,246,.18); color: #DDD6FE; border-color: rgba(139,92,246,.3); }
.pp-hero-pill.bird { background: rgba(16,185,129,.18); color: #A7F3D0; border-color: rgba(16,185,129,.3); }
.pp-hero-pill:hover { transform: translateY(-1px); text-decoration: none; }

/* ── Tipos Pokémon ──────────────────────────────────────────── */
.pdx-type-badge {
  display: inline-flex; align-items: center;
  gap: .25rem;
  padding: .22rem .55rem;
  border-radius: 6px;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
}
.pdx-type-fire     { background: var(--type-fire-bg);     color: var(--type-fire-text); }
.pdx-type-water    { background: var(--type-water-bg);    color: var(--type-water-text); }
.pdx-type-grass    { background: var(--type-grass-bg);    color: var(--type-grass-text); }
.pdx-type-electric { background: var(--type-electric-bg); color: var(--type-electric-text); }
.pdx-type-psychic  { background: var(--type-psychic-bg);  color: var(--type-psychic-text); }
.pdx-type-normal   { background: var(--type-normal-bg);   color: var(--type-normal-text); }
.pdx-type-fighting { background: var(--type-fighting-bg); color: var(--type-fighting-text); }
.pdx-type-ghost    { background: var(--type-ghost-bg);    color: var(--type-ghost-text); }
.pdx-type-fairy    { background: var(--type-fairy-bg);    color: var(--type-fairy-text); }
.pdx-type-rock     { background: var(--type-rock-bg);     color: var(--type-rock-text); }
.pdx-type-dark     { background: var(--type-dark-bg);     color: var(--type-dark-text); }
.pdx-type-steel    { background: var(--type-steel-bg);    color: var(--type-steel-text); }
.pdx-type-ice      { background: var(--type-ice-bg);      color: var(--type-ice-text); }
.pdx-type-dragon   { background: var(--type-dragon-bg);   color: var(--type-dragon-text); }
.pdx-type-poison   { background: var(--type-poison-bg);   color: var(--type-poison-text); }

/* ── PetDex stat bars ───────────────────────────────────────── */
.pdx-entry-number {
  font-size: .78rem; font-weight: 900;
  color: #94A3B8; letter-spacing: .08em;
  font-family: 'Nunito', monospace;
}
.pdx-stat-row {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700;
  margin-bottom: .35rem;
}
.pdx-stat-label {
  width: 58px; color: var(--text-muted);
  flex-shrink: 0; text-align: right;
  font-size: .7rem; letter-spacing: .03em;
  text-transform: uppercase;
}
.pdx-stat-bar-track {
  flex: 1; height: 6px;
  background: var(--border); border-radius: 99px;
  overflow: hidden;
}
.pdx-stat-bar-fill {
  height: 100%; border-radius: 99px;
  transition: width .5s ease;
}
.pdx-stat-val {
  width: 24px; text-align: right;
  color: var(--text-secondary);
  font-size: .72rem;
}
.pdx-stat-bar-fill[data-val="1"] { background: #94A3B8; width: 20%; }
.pdx-stat-bar-fill[data-val="2"] { background: #60A5FA; width: 40%; }
.pdx-stat-bar-fill[data-val="3"] { background: #34D399; width: 60%; }
.pdx-stat-bar-fill[data-val="4"] { background: #FBBF24; width: 80%; }
.pdx-stat-bar-fill[data-val="5"] { background: #F87171; width: 100%; }

/* ── Breed cards ────────────────────────────────────────────── */
/* Any col that directly contains a breed card (or wrap) should flex-stretch
   so every card in the row ends at the same height. */
.pp-card-col,
[class*="col-"]:has(> .pp-breed-card),
[class*="col-"]:has(> .pp-breed-card-wrap) { display: flex; }
.pp-breed-card-wrap { position: relative; display: flex; width: 100%; height: 100%; }
.pp-breed-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border);
  position: relative;
  text-decoration: none;
  color: var(--text-primary);
  height: 100%;
}
.pp-breed-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
  color: var(--text-primary);
  text-decoration: none;
}
.pp-breed-card::before {
  content: ''; display: block; height: 3px;
  background: var(--card-accent, var(--pdx-red));
}
.pp-breed-card-img {
  position: relative; overflow: hidden; background: var(--bg);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.pp-breed-card-img > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
/* Standalone img using the class directly (origem, favoritos, caracteristicas)
   — keep same 4:3 ratio so all cards line up uniformly regardless of structure. */
img.pp-breed-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.pp-breed-card-body {
  padding: .85rem 1rem .6rem;
  flex: 1; display: flex; flex-direction: column;
}
.pp-breed-card-body .pdx-card-stats { margin-top: auto; padding-top: .55rem; }
.pp-breed-card:hover .pp-breed-card-img img { transform: scale(1.04); }
.pdx-card-num {
  position: absolute; top: 10px; left: 10px;
  background: rgba(15,23,42,.75);
  color: rgba(255,255,255,.9);
  font-size: .7rem; font-weight: 900;
  letter-spacing: .08em;
  padding: .15rem .5rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  font-family: 'Nunito', monospace;
}
.pdx-card-types {
  position: absolute; bottom: 8px; right: 8px;
  display: flex; flex-direction: row-reverse; flex-wrap: wrap-reverse;
  gap: .25rem; justify-content: flex-start;
  align-items: flex-end;
  max-width: calc(100% - 16px);
}
.pp-breed-card-body h3 {
  font-size: 1rem; font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 .2rem; line-height: 1.2;
  letter-spacing: -.02em;
}
.pp-breed-card-meta {
  font-size: .78rem; color: var(--text-muted);
  font-weight: 600; margin-bottom: .6rem;
  display: flex; align-items: center;
  gap: .4rem; flex-wrap: wrap;
}
.pdx-card-stats { margin-top: .55rem; }
.pp-breed-card-footer {
  padding: .6rem 1rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between; gap: .5rem;
}

/* Floating action buttons – overlap the image/body border at the right side.
   This way they never cover the pet's face/body on mobile, and sit at the
   "seam" between image and card content. Uses bottom offset relative to wrap
   height so they align independently of image aspect-ratio. */
.pp-compare-btn, .pp-fav-btn {
  position: absolute;
  background: rgba(255,255,255,.98);
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 99px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .82rem; color: var(--text-secondary);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  z-index: 3;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}
/* Stack buttons at the top-right CORNER of the IMAGE area – the #NNN entry
   number lives at top-left, so type-badges (.pdx-card-types) shift to a
   bottom-right placement via the rules below. Keeps the pet's face clear. */
.pp-fav-btn     { top: 8px; right: 8px; }
.pp-compare-btn { top: 8px; right: 48px; }
.pp-compare-btn:hover, .pp-fav-btn:hover {
  transform: scale(1.1);
  background: #fff;
}
.pp-fav-btn:hover     { color: #F43F5E; border-color: #F43F5E; }
.pp-compare-btn:hover { color: var(--pdx-red); border-color: var(--pdx-red); }
.pp-compare-btn.active {
  color: #fff; background: var(--pdx-red); border-color: var(--pdx-red);
  box-shadow: 0 2px 8px rgba(220,38,38,.4);
}
.pp-fav-btn.active {
  color: #fff; background: #F43F5E; border-color: #F43F5E;
  box-shadow: 0 2px 8px rgba(244,63,94,.4);
}
[data-theme="dark"] .pp-compare-btn, [data-theme="dark"] .pp-fav-btn {
  background: rgba(31,41,55,.9); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.85);
}

/* ── Page header ────────────────────────────────────────────── */
.pp-page-header {
  padding: 2.25rem 0 1.75rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.75rem;
  position: relative; overflow: hidden;
}
.pp-page-header.dog  { background: linear-gradient(135deg, var(--dog-light), var(--surface)); border-bottom-color: rgba(249,115,22,.3); }
.pp-page-header.cat  { background: linear-gradient(135deg, var(--cat-light), var(--surface)); border-bottom-color: rgba(139,92,246,.3); }
.pp-page-header.bird { background: linear-gradient(135deg, var(--bird-light), var(--surface)); border-bottom-color: rgba(16,185,129,.3); }
.pp-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  font-weight: 900; margin: 0;
  letter-spacing: -.03em;
  color: var(--text-primary);
}
.pp-page-header-inner { position: relative; z-index: 1; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.pp-breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  list-style: none; padding: 0; margin: 0;
  font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
}
.pp-breadcrumb li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.pp-breadcrumb a { color: var(--text-muted); }
.pp-breadcrumb a:hover { color: var(--pdx-red); }

/* ── Filter bar (listagens) ─────────────────────────────────── */
.pp-filter-bar,
.pp-filter-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
}
.pp-filter-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.pp-filter-bar select,
.pp-filter-bar input[type="search"],
.pp-filter-bar input[type="text"],
.pp-filter-card select,
.pp-filter-card input[type="search"],
.pp-filter-card input[type="text"],
.pp-filter-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  font-size: .88rem; font-weight: 600;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  transition: var(--transition);
  width: 100%;
}
.pp-filter-bar select:focus,
.pp-filter-bar input:focus,
.pp-filter-card select:focus,
.pp-filter-card input:focus,
.pp-filter-select:focus {
  outline: none; border-color: var(--pdx-red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.pp-filter-check {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600;
  color: var(--text-secondary); cursor: pointer;
}
.pp-filter-check input { margin: 0; }

/* Trait filter (pills) */
.pp-trait-filter {
  margin-bottom: 1.5rem;
}
.pp-trait-filter-label {
  font-size: .72rem; font-weight: 800;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: .5rem;
}
.pp-trait-filter-pills {
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.pp-trait-pill {
  display: inline-flex; align-items: center;
  padding: .3rem .8rem; border-radius: 99px;
  font-size: .8rem; font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.pp-trait-pill:hover,
.pp-trait-pill.active {
  border-color: var(--pdx-red); color: var(--pdx-red);
  background: var(--pdx-red-light); text-decoration: none;
}

/* ── Badges ─────────────────────────────────────────────────── */
.pp-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .22rem .6rem;
  border-radius: 7px;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .03em; white-space: nowrap;
  line-height: 1.25;
}
.porte-pequeno { background: rgba(16,185,129,.12); color: #047857; }
.porte-medio   { background: rgba(251,191,36,.15); color: #B45309; }
.porte-grande  { background: rgba(220,38,38,.12);  color: #B91C1C; }
.ativ-baixo    { background: rgba(16,185,129,.12); color: #047857; }
.ativ-medio    { background: rgba(251,191,36,.15); color: #B45309; }
.ativ-alto     { background: rgba(220,38,38,.12);  color: #B91C1C; }
.trait-dog     { background: rgba(249,115,22,.1);  color: var(--dog-dark);  border: 1px solid rgba(249,115,22,.2); }
.trait-cat     { background: rgba(139,92,246,.1);  color: var(--cat-dark);  border: 1px solid rgba(139,92,246,.2); }
.trait-bird    { background: rgba(16,185,129,.1);  color: var(--bird-dark); border: 1px solid rgba(16,185,129,.2); }
.sim  { background: rgba(16,185,129,.12); color: #047857; }
.nao  { background: rgba(220,38,38,.1);   color: #B91C1C; }

/* ── Buttons ────────────────────────────────────────────────── */
.pp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  border-radius: 10px;
  font-weight: 800; font-size: .88rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: var(--transition);
}
.pp-btn-dog  { background: var(--dog);  color: #fff; }
.pp-btn-dog:hover  { background: var(--dog-dark); color: #fff; text-decoration: none; }
.pp-btn-cat  { background: var(--cat);  color: #fff; }
.pp-btn-cat:hover  { background: var(--cat-dark); color: #fff; text-decoration: none; }
.pp-btn-bird { background: var(--bird); color: #fff; }
.pp-btn-bird:hover { background: var(--bird-dark); color: #fff; text-decoration: none; }
.pp-btn-red  { background: var(--pdx-red); color: #fff; }
.pp-btn-red:hover  { background: var(--pdx-red-dark); color: #fff; text-decoration: none; }
.pp-btn-outline {
  background: transparent; border-color: var(--border);
  color: var(--text-secondary);
}
.pp-btn-outline:hover {
  border-color: var(--pdx-red); color: var(--pdx-red);
  background: var(--pdx-red-light); text-decoration: none;
}
.pp-btn-sm { padding: .35rem .85rem; font-size: .82rem; }
.pp-btn-lg { padding: .75rem 2rem; font-size: 1rem; border-radius: 12px; }

/* ── Section titles ─────────────────────────────────────────── */
.pp-section-title {
  font-size: 1.5rem; font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -.03em;
  margin: 0 0 .25rem;
}
.pp-section-sub {
  color: var(--text-secondary);
  font-size: .92rem; font-weight: 500;
  margin: 0 0 1.5rem;
}

/* ── Section cards (homepage, sidebar etc) ──────────────────── */
.pp-section-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.pp-section-card h4 {
  font-size: .95rem; font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 .85rem;
  display: flex; align-items: center; gap: .4rem;
  letter-spacing: -.02em;
}
.pp-section-card h4 .icon { font-size: 1.05rem; }

/* ── Raça detail ────────────────────────────────────────────── */
.pp-raca-sidebar {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 80px;
}
.pp-description {
  font-size: .93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Quick stats (topo da página de raça) */
.pp-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.pp-quick-stat {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.pp-quick-stat-icon { font-size: 1.5rem; margin-bottom: .3rem; }
.pp-quick-stat-value {
  font-size: .95rem; font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -.02em;
}
.pp-quick-stat-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .15rem;
}

/* Galeria de detalhe */
.pp-detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: .5rem; }
.pp-detail-gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: var(--bg);
  aspect-ratio: 4/3;
}
.pp-detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pp-detail-gallery-main:hover img { transform: scale(1.03); }
.pp-gallery-badge {
  position: absolute; bottom: .6rem; right: .6rem;
  background: rgba(15,23,42,.8); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.pp-detail-gallery-side { display: flex; flex-direction: column; gap: .5rem; }
.pp-detail-gallery-side-item {
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: var(--bg);
  aspect-ratio: 4/3;
}
.pp-detail-gallery-side-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pp-detail-gallery-side-item:hover img { transform: scale(1.05); }

/* Lightbox */
.pp-lb {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center; justify-content: center;
}
.pp-lb.active { display: flex; }
.pp-lb-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.pp-lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.15); color: #fff;
  border: none; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.5rem;
  cursor: pointer; line-height: 1;
}
.pp-lb-close:hover { background: rgba(255,255,255,.25); }
.pp-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); color: #fff;
  border: none; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.1rem;
  cursor: pointer;
}
.pp-lb-nav:hover { background: rgba(255,255,255,.2); }
.pp-lb-prev { left: 1.5rem; }
.pp-lb-next { right: 1.5rem; }
.pp-lb-counter {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: #fff; font-size: .85rem;
  background: rgba(0,0,0,.5); padding: .3rem .8rem;
  border-radius: 99px;
}

/* Curiosidades */
.pp-curiosidade-item {
  display: flex; gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.pp-curiosidade-item:last-child { border-bottom: none; }
.pp-curiosidade-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  font-size: .78rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.pp-curiosidade-num.cat-num  { background: rgba(139,92,246,.12); color: var(--cat); }
.pp-curiosidade-num.bird-num { background: rgba(16,185,129,.12); color: var(--bird); }

/* Tabela ficha (pássaros, cuidados) */
.pp-ficha-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.pp-ficha-table th,
.pp-ficha-table td {
  padding: .55rem .25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pp-ficha-table th {
  font-weight: 700;
  color: var(--text-muted);
  width: 40%;
  font-size: .82rem;
}
.pp-ficha-table tr:last-child th,
.pp-ficha-table tr:last-child td { border-bottom: none; }
.pp-ficha-table td { color: var(--text-primary); font-weight: 600; }

/* Compatibilidade item */
.pp-compat-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-primary);
  font-weight: 600;
}
.pp-compat-item:last-child { border-bottom: none; }
.pp-compat-icon { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }

/* Doenças */
.pp-doenca-item {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.pp-doenca-item:last-child { border-bottom: none; }
.pp-doenca-icon {
  color: var(--pdx-red); flex-shrink: 0;
  margin-top: .15rem; font-size: .85rem;
}
.pp-alert {
  display: flex; gap: .5rem; align-items: center;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600;
}
.pp-alert-warning {
  background: rgba(251,191,36,.1);
  color: #92400E;
  border-left: 3px solid var(--pdx-yellow);
}
[data-theme="dark"] .pp-alert-warning { background: rgba(251,191,36,.08); color: #FDE68A; }

/* Traits grid (stat bars com dots) */
.pp-traits-grid { display: grid; gap: 1rem; }
.pp-trait-bar-wrap {}
.pp-trait-bar-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: .3rem;
  font-size: .85rem; font-weight: 700;
  color: var(--text-secondary);
}
.pp-trait-dots { display: inline-flex; gap: 3px; }
.pp-trait-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.pp-trait-dot.filled.dog-dot { background: var(--dog); }
.pp-trait-dot.filled.cat-dot { background: var(--cat); }
.pp-trait-dot.filled.bird-dot { background: var(--bird); }
.pp-trait-bar-track {
  height: 6px; background: var(--border);
  border-radius: 99px; overflow: hidden;
}
.pp-trait-bar-fill { height: 100%; border-radius: 99px; transition: width .5s ease; }
.pp-trait-bar-fill.dog-fill  { background: linear-gradient(90deg, var(--dog),  var(--dog-dark)); }
.pp-trait-bar-fill.cat-fill  { background: linear-gradient(90deg, var(--cat),  var(--cat-dark)); }
.pp-trait-bar-fill.bird-fill { background: linear-gradient(90deg, var(--bird), var(--bird-dark)); }

/* Cultura pop */
.pp-cultura-pop {}
.pp-cultura-list { list-style: none; padding: 0; margin: 0; }
.pp-cultura-list li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-secondary);
}
.pp-cultura-list li:last-child { border-bottom: none; }
.pp-cultura-list li::before { content: '🎬  '; margin-right: .2rem; }

/* Afiliados */
.pp-affiliate {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
}
/* Ensure affiliate cols stretch so cards line up at the same height */
.pp-affiliate .row > [class*="col-"] { display: flex; margin-bottom: .5rem; }
.pp-affiliate-title {
  font-size: .95rem; font-weight: 900;
  margin-bottom: 1rem;
}
.pp-affiliate-card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pp-affiliate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
  border-color: var(--pdx-red);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-affiliate-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover; display: block;
  flex-shrink: 0;
}
.pp-affiliate-card-body {
  padding: .7rem .85rem;
  display: flex; flex-direction: column;
  flex: 1;
  gap: .3rem;
}
.pp-affiliate-card-name {
  display: block;
  font-size: .82rem; font-weight: 700;
  line-height: 1.3;
  flex: 1;
}
.pp-affiliate-cta {
  font-size: .72rem; color: var(--pdx-red);
  font-weight: 700;
}
.pp-affiliate-disclaimer {
  margin-top: .75rem;
  font-size: .72rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Compat quiz (mini quiz raça) */
.pp-compat-quiz {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.pp-compat-quiz-trigger {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; padding: 1.1rem 1.25rem;
  background: transparent; border: none;
  cursor: pointer; text-align: left;
  font-family: inherit;
}
.pp-compat-quiz-trigger-icon { font-size: 1.8rem; flex-shrink: 0; }
.pp-compat-quiz-trigger-text { flex: 1; }
.pp-compat-quiz-trigger-text strong {
  display: block;
  font-size: 1rem; color: var(--text-primary);
  font-weight: 900; margin-bottom: .15rem;
}
.pp-compat-quiz-trigger-text span {
  font-size: .85rem;
  color: var(--text-secondary);
}
.pp-compat-quiz-trigger-arrow { color: var(--text-muted); transition: transform .3s; }
.pp-compat-quiz[aria-expanded="true"] .pp-compat-quiz-trigger-arrow,
.pp-compat-quiz .pp-compat-quiz-trigger[aria-expanded="true"] .pp-compat-quiz-trigger-arrow {
  transform: rotate(180deg);
}
.pp-compat-quiz-body { padding: 0 1.25rem 1.25rem; }

/* Quiz steps */
.pp-mq-progress { display: flex; gap: .4rem; margin-bottom: 1rem; justify-content: center; }
.pp-mq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background .25s; }
.pp-mq-dot.done { background: var(--pdx-red); }
.pp-mq-step { display: none; }
.pp-mq-step.active { display: block; }
.pp-mq-step-title { font-size: .95rem; font-weight: 800; color: var(--text-primary); margin-bottom: .75rem; }
.pp-mq-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.pp-mq-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem .75rem;
  cursor: pointer;
  font-size: .85rem; font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex; align-items: center; gap: .4rem;
  background: var(--bg);
}
.pp-mq-option:hover,
.pp-mq-option.selected {
  border-color: var(--pdx-red); color: var(--pdx-red);
  background: var(--pdx-red-light);
}
.pp-mq-result { display: none; }
.pp-mq-result.visible { display: flex; gap: 1rem; align-items: flex-start; padding-top: .5rem; }
.pp-mq-result-text { flex: 1; }
.pp-mq-result-label { font-size: 1rem; font-weight: 900; color: var(--text-primary); margin-bottom: .4rem; }
.pp-mq-result-desc { font-size: .85rem; color: var(--text-secondary); margin-bottom: .75rem; line-height: 1.5; }
.pp-mq-checks { list-style: none; padding: 0; margin: 0 0 .75rem; }
.pp-mq-checks li { display: flex; align-items: center; gap: .5rem; font-size: .83rem; padding: .3rem 0; font-weight: 600; }
.pp-mq-checks li.ok   { color: #047857; }
.pp-mq-checks li.warn { color: #B45309; }
.pp-mq-checks li.bad  { color: #B91C1C; }
.pp-mq-score-wrap { flex-shrink: 0; }
#compatQuiz { display: block; }
#compatQuiz .pp-compat-quiz-body { display: none; padding: 0 1.25rem 1.25rem; }
#compatQuiz.open .pp-compat-quiz-body { display: block; }

/* ── Compare bar ────────────────────────────────────────────── */
.pp-compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--pdx-dark);
  border-top: 2px solid rgba(220,38,38,.4);
  padding: .75rem 0; z-index: 999;
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .25s ease;
}
.pp-compare-bar.visible { transform: translateY(0); }
.pp-compare-bar-inner {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
  padding: 0 1rem;
}
.pp-compare-bar-label {
  color: #fff; font-size: .85rem; font-weight: 800;
  display: inline-flex; align-items: center; gap: .35rem;
}
.pp-compare-bar-slots { display: flex; gap: .5rem; flex: 1; flex-wrap: wrap; }
.pp-compare-slot {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.1);
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  font-size: .82rem; font-weight: 600;
  min-width: 140px;
}
.pp-compare-slot.filled {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.35);
  border-style: solid;
  color: #fff;
}
.pp-compare-slot-remove {
  cursor: pointer;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  padding: 0 .3rem;
}
.pp-compare-slot-remove:hover { color: #fff; }
.pp-compare-bar-actions { display: flex; gap: .4rem; align-items: center; }

/* ── Blog cards ─────────────────────────────────────────────── */
/* Make blog grid cols stretch so cards line up at the same height */
.pp-blog-cards-grid > [class*="col-"],
.pp-blog-list > [class*="col-"] { display: flex; }
.pp-blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--text-primary);
  height: 100%; width: 100%;
}
.pp-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  color: var(--text-primary); text-decoration: none;
}
.pp-blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.pp-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pp-blog-card:hover .pp-blog-card-img img { transform: scale(1.05); }
.pp-blog-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.pp-blog-cat {
  font-size: .72rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pdx-red);
  margin-bottom: .4rem;
}
.pp-blog-card-title {
  font-size: 1rem; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: .45rem;
  line-height: 1.3;
}
.pp-blog-card-desc {
  font-size: .85rem; color: var(--text-secondary);
  flex: 1; line-height: 1.5;
}
.pp-blog-card-footer {
  padding: .7rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: .78rem; color: var(--text-muted);
  font-weight: 600;
}
.pp-blog-featured {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-decoration: none; color: var(--text-primary);
}
.pp-blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none; color: var(--text-primary);
}

/* ── Artigo ─────────────────────────────────────────────────── */
.pp-article-lead {
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--pdx-red);
}
.pp-article-tip {
  background: #FEFCE8;
  border-left: 4px solid var(--pdx-yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .85rem 1.1rem;
  margin: 1.5rem 0;
  font-size: .92rem; font-weight: 600;
}
[data-theme="dark"] .pp-article-tip { background: rgba(251,191,36,.08); }
.pp-article-callout {
  display: flex; gap: 1rem;
  background: var(--pdx-red-light);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .92rem; font-weight: 600;
  color: #7F1D1D;
}
[data-theme="dark"] .pp-article-callout { background: rgba(220,38,38,.1); color: #FCA5A5; }
.pp-article-callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.pp-article-img { margin: 1.75rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.pp-article-img img { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.pp-article-img figcaption {
  padding: .6rem .85rem; font-size: .8rem;
  color: var(--text-muted); font-weight: 600;
  background: var(--bg); text-align: center;
}

/* ── Origin & related cards ─────────────────────────────────── */
.pp-origin-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem; text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-decoration: none;
  display: flex; flex-direction: column;
  align-items: center; gap: .4rem;
  color: var(--text-primary);
}
.pp-origin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--pdx-red);
  text-decoration: none;
  color: var(--text-primary);
}

.pp-related-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
  height: 100%;
}
.pp-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--pdx-red);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.pp-related-card-body { padding: .65rem .85rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pp-article-breeds .row > [class*="col-"] { display: flex; margin-bottom: .75rem; }

/* ── FAQ (acordeon simples) ─────────────────────────────────── */
.pp-faq { display: flex; flex-direction: column; gap: .5rem; }
.pp-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.pp-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: .85rem 1rem;
  text-align: left;
  font-size: .92rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
}
.pp-faq-q .pp-faq-icon {
  font-size: .8rem;
  color: var(--text-muted);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.pp-faq-q[aria-expanded="true"] .pp-faq-icon { transform: rotate(180deg); color: var(--pdx-red); }
.pp-faq-q:hover { background: var(--bg); }
.pp-faq-a {
  display: none;
  padding: 0 1rem 1rem;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pp-faq-a p { margin: 0; }
.pp-faq-q[aria-expanded="true"] + .pp-faq-a,
.pp-faq-item.open .pp-faq-a { display: block; }

/* ── Compartilhar ───────────────────────────────────────────── */
.pp-share {
  display: flex; align-items: center; gap: .6rem;
  flex-wrap: wrap;
}
.pp-share-label {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 700;
}
.pp-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .5rem 1.1rem;
  min-width: 110px;
  border-radius: 99px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s;
  border: 1px solid var(--border);
  line-height: 1;
}
.pp-share-btn i { font-size: 1rem; }
.pp-share-btn:hover { transform: translateY(-1px); text-decoration: none; }
.pp-share-btn.whatsapp, .pp-share-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.pp-share-btn.whatsapp:hover, .pp-share-whatsapp:hover { background: #128C7E; color: #fff; }
.pp-share-btn.twitter, .pp-share-twitter   { background: #0F172A; color: #fff; border-color: #0F172A; }
.pp-share-btn.twitter:hover, .pp-share-twitter:hover   { background: #1F2937; color: #fff; }
.pp-share-btn.facebook, .pp-share-facebook { background: #1877F2; color: #fff; border-color: #1877F2; }
.pp-share-btn.facebook:hover, .pp-share-facebook:hover { background: #155bb8; color: #fff; }

/* ── Categoria cards (homepage) ─────────────────────────────── */
.pp-cat-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  transition: var(--transition);
}
.pp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none;
  color: var(--text-primary);
  border-color: transparent;
}
.pp-cat-card::before {
  content: ''; display: block; height: 4px;
}
.pp-cat-card.dog::before  { background: var(--dog); }
.pp-cat-card.cat::before  { background: var(--cat); }
.pp-cat-card.bird::before { background: var(--bird); }
.pp-cat-card-body { padding: 1.5rem 1.25rem 1.25rem; text-align: center; }
.pp-cat-card-icon { display: block; font-size: 3.2rem; line-height: 1; margin-bottom: .5rem; }
.pp-cat-card h3 {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: -.02em; margin: 0 0 .35rem;
}
.pp-cat-card p {
  color: var(--text-secondary);
  font-size: .88rem; font-weight: 500;
  margin: 0 0 1rem;
}
.pp-cat-card-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem 1.1rem; border-radius: 99px;
  font-size: .82rem; font-weight: 800;
  color: #fff;
}
.pp-cat-card.dog  .pp-cat-card-btn { background: var(--dog);  }
.pp-cat-card.cat  .pp-cat-card-btn { background: var(--cat);  }
.pp-cat-card.bird .pp-cat-card-btn { background: var(--bird); }

/* ── Raça do Dia (feature card) ─────────────────────────────── */
.pp-breed-of-day {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}
.pp-breed-of-day::before {
  content: ''; position: absolute;
}
.pp-breed-of-day:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none; color: var(--text-primary);
  border-color: var(--pdx-red);
}
.pp-breed-of-day-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.pp-breed-of-day-body { display: flex; flex-direction: column; justify-content: center; }
.pp-breed-of-day-eyebrow {
  font-size: .72rem; font-weight: 900;
  color: var(--pdx-red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.pp-breed-of-day-name {
  font-size: 1.6rem; font-weight: 900;
  letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: .25rem;
}
.pp-breed-of-day-origin {
  font-size: .85rem; color: var(--text-muted);
  font-weight: 600; margin-bottom: .6rem;
}
.pp-breed-of-day-badges {
  display: flex; gap: .3rem;
  flex-wrap: wrap; margin-bottom: .75rem;
}
.pp-breed-of-day-desc {
  font-size: .9rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pp-breed-of-day-cta {
  font-size: .88rem; font-weight: 800;
  color: var(--pdx-red);
  display: inline-flex; align-items: center; gap: .3rem;
}

/* ── Quiz CTA home ──────────────────────────────────────────── */
.pp-quiz-cta {
  background: linear-gradient(135deg, rgba(220,38,38,.08), rgba(251,191,36,.08));
  border: 1.5px solid rgba(220,38,38,.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.pp-quiz-cta-inner {
  display: flex; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
}
.pp-quiz-cta-emoji { font-size: 3rem; flex-shrink: 0; line-height: 1; }
.pp-quiz-cta-text { flex: 1; min-width: 220px; }
.pp-quiz-cta-text h3 {
  font-size: 1.15rem; font-weight: 900;
  margin: 0 0 .2rem; letter-spacing: -.02em;
}
.pp-quiz-cta-text p { margin: 0; font-size: .88rem; color: var(--text-secondary); font-weight: 500; }
.pp-btn-quiz { background: var(--dog); color: #fff; }
.pp-btn-quiz:hover { background: var(--dog-dark); color: #fff; text-decoration: none; }

/* ── Stats row (homepage) ───────────────────────────────────── */
.pp-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  margin: 2rem 0;
  box-shadow: var(--card-shadow);
}
.pp-stat-item {
  text-align: center;
  padding: 0 .5rem;
  border-right: 1px solid var(--border);
}
.pp-stat-item:last-child { border-right: none; }
.pp-stat-icon { font-size: 1.4rem; margin-bottom: .15rem; }
.pp-stat-value {
  font-size: 1.75rem; font-weight: 900;
  color: var(--pdx-red);
  letter-spacing: -.03em; line-height: 1;
}
.pp-stat-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.pp-footer {
  background: var(--pdx-dark);
  color: rgba(255,255,255,.65);
  padding: 3rem 0 0;
  margin-top: 3.5rem;
  border-top: 2px solid rgba(220,38,38,.3);
}
.pp-footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .88rem; font-weight: 600; transition: color .18s; }
.pp-footer a:hover { color: var(--pdx-yellow); text-decoration: none; }
.pp-footer ul { list-style: none; padding: 0; margin: 0; }
.pp-footer ul li { margin-bottom: .4rem; }
.pp-footer-label {
  display: block;
  font-size: .72rem; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
.pp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0; margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ── Utilitários ────────────────────────────────────────────── */
.pp-no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.pp-no-results-icon { font-size: 3.5rem; margin-bottom: 1rem; }

#pp-btt {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pdx-red); color: #fff;
  border: none; font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
  z-index: 990;
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
#pp-btt.visible { opacity: 1; transform: translateY(0); }
#pp-btt:hover { background: var(--pdx-red-dark); transform: translateY(-2px); }

.pp-will-reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.pp-revealed    { opacity: 1; transform: translateY(0); }

/* ── Glossário ──────────────────────────────────────────────── */
.pp-gloss-letter {
  font-size: 1.5rem; font-weight: 900;
  color: var(--pdx-red);
  letter-spacing: -.03em;
  border-bottom: 2px solid var(--pdx-red);
  padding-bottom: .25rem;
  margin: 2rem 0 .85rem;
}
.pp-gloss-term { font-weight: 800; color: var(--text-primary); }
.pp-gloss-def  { color: var(--text-secondary); font-size: .9rem; }

/* ── Quiz page ──────────────────────────────────────────────── */
.pp-quiz-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}
.pp-quiz-option {
  display: flex; align-items: center; gap: .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700; color: var(--text-secondary);
  background: var(--bg);
  width: 100%; text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: .92rem;
}
.pp-quiz-option:hover,
.pp-quiz-option.selected {
  border-color: var(--pdx-red); color: var(--pdx-red);
  background: var(--pdx-red-light);
}
.pp-quiz-progress {
  height: 6px; background: var(--border);
  border-radius: 99px; overflow: hidden;
  margin-bottom: 1.5rem;
}
.pp-quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pdx-red), var(--pdx-yellow));
  border-radius: 99px; transition: width .35s ease;
}

/* ════════════════════════════════════════════════════════════════
   PÁGINAS SECUNDÁRIAS (blog, quiz, comparar, calculadora etc)
   ════════════════════════════════════════════════════════════════ */

/* Genéricos extras */
.pp-section { padding: 2.5rem 0; }
.pp-page-header-desc {
  margin-top: .5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 720px;
}
.pp-alert-info {
  background: rgba(59,130,246,.07);
  border-color: rgba(59,130,246,.3);
  color: #1e3a8a;
}
.pp-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25em .7em;
  border-radius: 99px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: .75rem;
  font-weight: 700;
  border: 1px solid var(--border);
}
.pp-tag:hover { background: var(--pdx-red-light); color: var(--pdx-red); border-color: var(--pdx-red); text-decoration: none; }
.pp-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem;
  background: var(--surface);
}
.pp-table th, .pp-table td {
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.pp-table th {
  background: var(--bg);
  font-weight: 800;
  color: var(--text-primary);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pp-table tr:last-child td { border-bottom: none; }
.pp-table tr:hover td { background: var(--bg); }

/* Legados (cards antigos ainda usados em origem/favoritos/caracteristicas) */
.pp-breed-card-name {
  font-weight: 800; color: var(--text-primary);
  font-size: .95rem; line-height: 1.25;
  margin-bottom: .25rem;
}
.pp-breed-card-origin {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: .55rem;
}
.pp-breed-card-sub {
  font-size: .78rem; color: var(--text-muted);
  margin-top: .15rem;
}

/* ── Blog ───────────────────────────────────────────────────── */
.pp-blog-search-bar {
  display: flex; gap: .85rem; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pp-blog-search-input {
  flex: 1; min-width: 280px;
  display: flex; align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: .25rem .35rem .25rem 1.1rem;
  box-shadow: var(--card-shadow);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pp-blog-search-input:focus-within {
  border-color: var(--pdx-red);
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
}
.pp-blog-search-input > i {
  color: var(--text-muted); font-size: .9rem; margin-right: .5rem;
}
.pp-blog-search-input input {
  flex: 1; border: 0; background: transparent;
  font-size: .92rem; font-weight: 600;
  color: var(--text-primary);
  padding: .55rem .25rem;
  outline: none;
  font-family: inherit;
}
.pp-blog-search-input input::placeholder { color: var(--text-muted); font-weight: 500; }
.pp-blog-search-input .pp-btn { border-radius: 99px; padding: .5rem 1.1rem; }
.pp-blog-clear-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: .4rem .8rem;
  border-radius: 99px;
  border: 1.5px dashed var(--border);
  transition: var(--transition);
}
.pp-blog-clear-btn:hover {
  color: var(--pdx-red); border-color: var(--pdx-red);
  background: var(--pdx-red-light);
  text-decoration: none;
}
.pp-blog-tags-bar {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pp-blog-tags-label {
  font-size: .8rem; font-weight: 800;
  color: var(--text-secondary);
  margin-right: .35rem;
}
.pp-tag-link {
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.pp-tag-link:hover {
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  text-decoration: none;
}
.pp-tag-link.active {
  background: var(--pdx-red);
  color: #fff;
  border-color: var(--pdx-red);
}
.pp-blog-filter-summary {
  font-size: .9rem;
  color: var(--text-secondary);
  background: var(--pdx-yellow-light, #FEF9C3);
  border-left: 3px solid var(--pdx-yellow);
  padding: .65rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .pp-blog-filter-summary { background: rgba(251,191,36,.08); }
.pp-blog-pagination {
  display: flex; justify-content: center;
  gap: .35rem; margin-top: 2rem; flex-wrap: wrap;
}
.pp-page-btn, .pp-page-num {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem;
  height: 38px; min-width: 38px;
  padding: 0 .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .85rem; font-weight: 700;
  color: var(--text-primary); text-decoration: none;
  background: var(--surface);
  transition: var(--transition);
}
.pp-page-num { padding: 0; }
.pp-page-btn:hover, .pp-page-num:hover {
  border-color: var(--pdx-red);
  color: var(--pdx-red);
  text-decoration: none;
}
.pp-page-num.active {
  background: var(--pdx-red);
  color: #fff;
  border-color: var(--pdx-red);
}
.pp-page-btn i { font-size: .7rem; }

.pp-blog-cats {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pp-blog-cat-pill {
  padding: .4rem 1rem;
  border-radius: 99px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: .82rem; font-weight: 700;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.pp-blog-cat-pill:hover,
.pp-blog-cat-pill.active {
  background: var(--pdx-red); color: #fff; border-color: var(--pdx-red);
  text-decoration: none;
}
.pp-blog-card-cat {
  font-size: .72rem;
  font-weight: 800;
  color: var(--pdx-red);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.pp-blog-meta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .76rem; color: var(--text-muted);
  margin-top: .35rem;
}
.pp-blog-read-more {
  color: var(--pdx-red);
  font-weight: 800;
  font-size: .82rem;
}
.pp-blog-featured-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
  display: block;
}
.pp-blog-featured-img > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pp-blog-featured:hover .pp-blog-featured-img > img { transform: scale(1.04); }
.pp-blog-featured-body { padding: 1.25rem 1.5rem 1.5rem; }
.pp-blog-featured-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: .35rem .75rem;
  border-radius: 99px;
  font-size: .72rem; font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 2;
}
.pp-blog-featured-title {
  font-size: 1.5rem; font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin: .25rem 0 .5rem;
}
.pp-blog-featured-desc {
  color: var(--text-secondary);
  font-size: .95rem;
  margin: 0 0 1rem;
  font-weight: 500;
  line-height: 1.55;
}

/* ── Article (post individual) ──────────────────────────────── */
.pp-article-hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #1F2937;
}
.pp-article-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.pp-article-hero-overlay {
  position: relative; z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,.92) 100%);
  padding: 4rem 0 2rem;
}
.pp-article-hero-overlay .pp-breadcrumb { color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.pp-article-hero-overlay .pp-breadcrumb a { color: rgba(255,255,255,.7); }
.pp-article-hero-overlay .pp-breadcrumb a:hover { color: #fff; }
.pp-article-hero-overlay .pp-breadcrumb li::after { color: rgba(255,255,255,.45); }
.pp-article-hero-overlay h1 {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: .5rem 0 .85rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  max-width: 880px;
}
.pp-article-hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  color: rgba(255,255,255,.92);
  font-size: .88rem; font-weight: 600;
}
.pp-article-hero-meta i { opacity: .8; margin-right: .35rem; }
@media (max-width: 768px) {
  .pp-article-hero { min-height: 300px; }
  .pp-article-hero-overlay { padding: 3rem 0 1.5rem; }
  .pp-article-hero-overlay h1 { font-size: 1.55rem; }
}
.pp-article-cat-badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--pdx-red);
  color: #fff;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.pp-article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.pp-article-body h2, .pp-article-body h3 {
  font-weight: 900;
  color: var(--text-primary);
  margin: 2rem 0 .75rem;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.pp-article-body h2 { font-size: 1.5rem; }
.pp-article-body h3 { font-size: 1.2rem; }
.pp-article-body p  { margin-bottom: 1rem; color: var(--text-secondary); }
.pp-article-body ul, .pp-article-body ol { margin: .5rem 0 1.25rem 1.25rem; padding-left: .75rem; color: var(--text-secondary); }
.pp-article-body li  { margin-bottom: .35rem; }
.pp-article-body a   { color: var(--pdx-red); font-weight: 700; }
.pp-article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.pp-article-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.pp-article-body figure { margin: 1.5rem 0; }
.pp-article-body strong { color: var(--text-primary); }
.pp-article-tags {
  display: flex; gap: .4rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.pp-article-breeds {
  margin-top: 2rem; padding: 1.25rem;
  background: var(--bg);
  border-left: 3px solid var(--pdx-red);
  border-radius: var(--radius-sm);
}
.pp-share-box {
  margin-top: 2rem; padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.pp-sidebar-article {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-sidebar-article:last-child { border-bottom: none; }
.pp-sidebar-article:hover { color: var(--pdx-red); text-decoration: none; }
.pp-sidebar-article img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.pp-sidebar-article > div { flex: 1; min-width: 0; }

/* ── Calculadora ────────────────────────────────────────────── */
.pp-calc-label {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.pp-calc-pills {
  display: flex; gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pp-calc-pill {
  flex: 1; min-width: 110px;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-align: center;
}
.pp-calc-pill:hover { border-color: var(--pdx-red); color: var(--pdx-red); }
.pp-calc-pill.active {
  background: var(--pdx-red); color: #fff; border-color: var(--pdx-red);
}

/* ── Características ────────────────────────────────────────── */
.pp-caracteristica-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  transition: var(--transition);
  height: 100%;
}
.pp-caracteristica-card:hover {
  transform: translateY(-3px);
  border-color: var(--pdx-red);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-caracteristica-icon { font-size: 2.2rem; margin-bottom: .5rem; line-height: 1; }
.pp-caracteristica-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: .25rem;
  color: var(--text-primary);
}
.pp-caracteristica-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: .5rem;
}
.pp-caracteristica-count {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  font-weight: 800;
  font-size: .72rem;
  border-radius: 99px;
}

/* ── Comparar ───────────────────────────────────────────────── */
.pp-compare-page { padding: 2rem 0 4rem; }
.pp-compare-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}
.pp-compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.pp-compare-table th,
.pp-compare-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  font-size: .9rem;
}
.pp-compare-table th:first-child,
.pp-compare-table td:first-child {
  text-align: left;
  font-weight: 800;
  color: var(--text-secondary);
  background: var(--bg);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pp-compare-col-header {
  font-weight: 900;
  color: var(--text-primary);
  font-size: 1rem;
}
.pp-compare-section-row td {
  background: linear-gradient(90deg, var(--pdx-red-light), transparent);
  font-weight: 900;
  text-align: left;
  color: var(--pdx-red);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .06em;
}

/* ── Cuidados / Guides ──────────────────────────────────────── */
.pp-cuidados-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, #ECFDF5 0%, var(--surface) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pp-guide-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  height: 100%;
  transition: var(--transition);
}
.pp-guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--pdx-red);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-guide-card-icon { font-size: 2.4rem; margin-bottom: .5rem; }
.pp-guide-card-title {
  font-weight: 900; font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: .35rem;
}
.pp-guide-card-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pp-guide-content { max-width: 880px; margin: 0 auto; }
.pp-guide-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.pp-guide-section-header {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.pp-guide-section-icon { font-size: 1.5rem; line-height: 1; }
.pp-guide-section-title {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}
.pp-guide-section-body {
  padding: 1.25rem 1.5rem;
  font-size: .94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.pp-guide-section-body p:last-child { margin-bottom: 0; }
.pp-tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .85rem;
}
.pp-tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pdx-red);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.pp-tip-card-icon { font-size: 1.4rem; margin-bottom: .35rem; }
.pp-tip-card-title {
  font-weight: 800;
  font-size: .95rem;
  color: var(--text-primary);
  margin-bottom: .35rem;
}

/* ── Origem ─────────────────────────────────────────────────── */
.pp-origin-flag {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: .5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.pp-origin-card:hover .pp-origin-flag { transform: scale(1.1); transition: transform .25s ease; }

/* Origem detail header */
.pp-origin-detail-header {
  background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
  color: #fff;
}
.pp-origin-detail-header .pp-breadcrumb,
.pp-origin-detail-header .pp-breadcrumb a { color: rgba(255,255,255,.7); }
.pp-origin-detail-header .pp-breadcrumb a:hover { color: #fff; }
.pp-origin-detail-title {
  display: flex; align-items: center; gap: 1.25rem;
}
.pp-origin-detail-flag {
  font-size: 4rem; line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.35));
  flex-shrink: 0;
}
.pp-origin-detail-title h1 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.pp-origin-detail-title p {
  margin: .25rem 0 0;
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .pp-origin-detail-flag { font-size: 2.8rem; }
  .pp-origin-detail-title h1 { font-size: 1.45rem; }
}
.pp-origin-name {
  font-weight: 800;
  font-size: .98rem;
  color: var(--text-primary);
  margin-bottom: .25rem;
}
.pp-origin-count {
  display: inline-block;
  padding: .2rem .65rem;
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
}

/* ── Quiz (página completa) ─────────────────────────────────── */
.pp-quiz-page { padding: 2rem 0 4rem; background: var(--bg); min-height: 70vh; }
.pp-quiz-progress-wrap { margin-bottom: 2rem; }
.pp-quiz-progress-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: .4rem;
  display: flex; justify-content: space-between;
}
.pp-quiz-progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.pp-quiz-indicator {
  display: inline-block;
  padding: .35rem .9rem;
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.pp-quiz-step { animation: pp-fade-in .3s ease; }
@keyframes pp-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pp-quiz-step-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.pp-quiz-step-sub {
  font-size: .92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.pp-quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.pp-quiz-option-card {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: .4rem;
  padding: 1.1rem .75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.pp-quiz-option-card:hover,
.pp-quiz-option-card.selected {
  border-color: var(--pdx-red);
  background: var(--pdx-red-light);
  transform: translateY(-2px);
}
.pp-quiz-option-emoji { font-size: 2rem; line-height: 1; }
.pp-quiz-option-label {
  font-weight: 800;
  color: var(--text-primary);
  font-size: .95rem;
}
.pp-quiz-option-desc {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pp-quiz-nav {
  display: flex; justify-content: space-between; gap: .5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.pp-quiz-result-header {
  text-align: center;
  margin-bottom: 2rem;
}
.pp-quiz-result-header h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
  color: var(--pdx-dark);
}
[data-theme="dark"] .pp-quiz-result-header h2 { color: #fff; }
.pp-quiz-result-header p {
  color: var(--text-secondary);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto;
}
.pp-quiz-retake {
  margin: 2rem auto 0;
  max-width: 880px;
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.pp-quiz-retake .pp-btn { margin: .25rem; }

/* Score circle (SVG) */
.pp-score-circle { display: block; }

/* ── Quiz match cards ───────────────────────────────────────── */
.pp-match-hero {
  background: linear-gradient(135deg, #1F2937 0%, #0F172A 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem;
  margin: 0 auto 2rem;
  max-width: 880px;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,.25);
  border: 2px solid var(--pdx-yellow);
}
.pp-match-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(251,191,36,.18) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(220,38,38,.22) 0%, transparent 50%);
  pointer-events: none;
}
.pp-match-hero::after {
  content: '🏆';
  position: absolute; top: -10px; right: 10px;
  font-size: 6rem;
  opacity: .12;
  pointer-events: none;
  transform: rotate(12deg);
}
.pp-match-hero-inner {
  display: grid;
  grid-template-columns: 180px 1fr 130px;
  gap: 1.75rem;
  align-items: center;
  position: relative; z-index: 1;
}
.pp-match-hero-photo {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  border: 4px solid var(--pdx-yellow);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.pp-match-hero-inner > * { position: relative; z-index: 1; }
.pp-match-hero-info { color: #fff; }
.pp-match-hero-name {
  font-size: 2rem; font-weight: 900;
  margin: 0 0 .35rem; line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}
.pp-match-hero-origin {
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.pp-match-label {
  display: inline-block;
  padding: .4rem 1rem;
  background: var(--pdx-yellow);
  color: #111827;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .85rem;
  box-shadow: 0 2px 8px rgba(251,191,36,.4);
}
.pp-score-wrap { display: flex; justify-content: center; }
.pp-score-circle-text { fill: #fff; }
@media (max-width: 768px) {
  .pp-match-hero { padding: 1.5rem; }
  .pp-match-hero-inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .pp-match-hero-info { order: 2; }
  .pp-match-hero-photo { max-width: 200px; margin: 0 auto; order: 1; }
  .pp-score-wrap { order: 0; }
}

.pp-match-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 2rem;
}
@media (max-width: 576px) { .pp-match-secondary { grid-template-columns: 1fr; } }

.pp-match-card {
  display: flex; gap: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}
.pp-match-card:hover {
  transform: translateY(-3px);
  border-color: var(--pdx-red);
  box-shadow: var(--card-shadow-hover);
  text-decoration: none;
  color: var(--text-primary);
}
.pp-match-card-img {
  width: 88px; height: 88px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.pp-match-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.pp-match-card-name {
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.pp-match-card-pct {
  font-weight: 900;
  color: var(--pdx-red);
  font-size: .9rem;
}
.pp-match-score-bar {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-top: .25rem;
}
.pp-match-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pdx-red), var(--pdx-yellow));
  border-radius: 99px;
  transition: width .8s ease;
}
.pp-match-tag {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--pdx-yellow-light, #FEF3C7);
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 800;
  color: var(--pdx-dark);
  margin-bottom: .15rem;
  align-self: flex-start;
}
.pp-match-tag-perfect { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #fff; }
.pp-match-tag-great   { background: linear-gradient(135deg, #34D399, #10B981); color: #fff; }
.pp-match-tag-good    { background: linear-gradient(135deg, #60A5FA, #3B82F6); color: #fff; }
.pp-match-tag-ok      { background: var(--bg); color: var(--text-muted); }

/* ── Vacinas (cuidados) ─────────────────────────────────────── */
.pp-vaccine-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.pp-vaccine-table th,
.pp-vaccine-table td {
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.pp-vaccine-table th {
  background: var(--pdx-red);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pp-vaccine-table tr:last-child td { border-bottom: none; }
.pp-vaccine-table tr:hover td { background: var(--bg); }
.pp-vaccine-age {
  display: inline-block;
  padding: .2rem .55rem;
  background: var(--pdx-red-light);
  color: var(--pdx-red);
  border-radius: 99px;
  font-weight: 800;
  font-size: .78rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .pp-nav {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--pdx-dark);
    padding: 1rem; flex-direction: column;
    align-items: flex-start; gap: .2rem;
    border-bottom: 2px solid rgba(220,38,38,.3);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    z-index: 999;
  }
  .pp-nav.open { display: flex; }
  .pp-nav-link { width: 100%; font-size: .95rem; padding: .6rem 1rem; }
  .pp-nav-dropdown { width: 100%; }
  .pp-nav-dropdown-toggle { width: 100%; font-size: .95rem; padding: .6rem 1rem; }
  .pp-nav-dropdown-menu {
    display: block !important;
    position: static;
    background: rgba(255,255,255,.05);
    box-shadow: none; border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    min-width: unset;
  }
  .pp-mobile-toggle { display: flex; }
  .pp-search-wrap { display: none !important; }
  .pp-hero { padding: 3rem 0 2.5rem; }
  .pp-quick-stats { grid-template-columns: repeat(2, 1fr); }
  .pp-stats-row   { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .pp-stats-row .pp-stat-item:nth-child(3) { border-right: none; }
  .pp-breed-of-day { grid-template-columns: 1fr; }
  .pp-breed-of-day-img { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 576px) {
  .pp-page-header { padding: 1.6rem 0 1.25rem; }
  .pp-page-header h1 { font-size: 1.55rem; }
  .pp-compare-btn, .pp-fav-btn { width: 32px; height: 32px; font-size: .8rem; }
  .pp-fav-btn     { top: 6px; right: 6px; }
  .pp-compare-btn { top: 6px; right: 44px; }
  .pp-stats-row { grid-template-columns: repeat(2, 1fr); }
  .pp-stats-row .pp-stat-item { border-right: none; }
  .pp-stats-row .pp-stat-item:nth-child(2n) { border-right: none; }
  .pp-mq-options { grid-template-columns: 1fr 1fr; }
  .pp-detail-gallery { grid-template-columns: 1fr; }
  .pp-detail-gallery-side { flex-direction: row; }
  .pp-detail-gallery-side-item { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   VISUAL POLISH — refinamentos e microanimações
   ═══════════════════════════════════════════════════════════════ */

/* Hero: padrão de patinhas sutis em movimento + orbes pulsantes */
.pp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 0%, transparent 0.5%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.04) 0%, transparent 0.5%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.03) 0%, transparent 0.5%);
  background-size: 64px 64px, 96px 96px, 128px 128px;
  background-position: 0 0, 32px 32px, 16px 48px;
  opacity: .6;
  pointer-events: none;
  animation: pp-hero-drift 40s linear infinite;
}
@keyframes pp-hero-drift {
  from { background-position: 0 0, 32px 32px, 16px 48px; }
  to   { background-position: 64px 64px, 96px 96px, 144px 176px; }
}
.pp-hero > .container { position: relative; z-index: 1; }

/* Hero: badge com brilho sutil */
.pp-hero-badge {
  animation: pp-hero-badge-glow 3.2s ease-in-out infinite;
}
@keyframes pp-hero-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
  50%      { box-shadow: 0 0 16px 2px rgba(220,38,38,.25); }
}

/* Hero: search com leve zoom on focus */
.pp-hero-search:focus-within {
  border-color: rgba(251,191,36,.5);
  box-shadow: 0 0 0 3px rgba(251,191,36,.12);
  transition: border-color .22s ease, box-shadow .22s ease;
}

/* Hero pills: hover mais vivo */
.pp-hero-pill { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.pp-hero-pill.dog:hover  { background: rgba(249,115,22,.30); box-shadow: 0 4px 14px -4px rgba(249,115,22,.5); }
.pp-hero-pill.cat:hover  { background: rgba(139,92,246,.30); box-shadow: 0 4px 14px -4px rgba(139,92,246,.5); }
.pp-hero-pill.bird:hover { background: rgba(16,185,129,.30); box-shadow: 0 4px 14px -4px rgba(16,185,129,.5); }
.pp-hero-pill:hover      { transform: translateY(-2px) scale(1.03); }

/* Breed card: shimmer sutil on hover */
.pp-breed-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
  z-index: 2;
}
.pp-breed-card:hover .pp-breed-card-img::after { transform: translateX(120%); }

/* Category card: lift mais expressivo + sombra colorida */
.pp-cat-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.pp-cat-card:hover { transform: translateY(-6px); }
.pp-cat-card.dog:hover  { box-shadow: 0 18px 36px -12px rgba(249,115,22,.35); border-color: rgba(249,115,22,.45); }
.pp-cat-card.cat:hover  { box-shadow: 0 18px 36px -12px rgba(139,92,246,.35); border-color: rgba(139,92,246,.45); }
.pp-cat-card.bird:hover { box-shadow: 0 18px 36px -12px rgba(16,185,129,.35); border-color: rgba(16,185,129,.45); }
.pp-cat-card-icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.pp-cat-card:hover .pp-cat-card-icon { transform: scale(1.15) rotate(-6deg); }

/* Stats: número com pulse ao hover do item */
.pp-stat-item { transition: transform .22s ease; cursor: default; }
.pp-stat-item:hover { transform: translateY(-3px); }
.pp-stat-item:hover .pp-stat-value { color: var(--pdx-red); transition: color .22s ease; }
.pp-stat-icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.pp-stat-item:hover .pp-stat-icon { transform: scale(1.2) rotate(8deg); }

/* Breed of day: eyebrow com brilho suave */
.pp-breed-of-day-eyebrow {
  background: linear-gradient(90deg, rgba(251,191,36,.18), rgba(251,191,36,.06) 60%, transparent);
  background-size: 200% 100%;
  animation: pp-bod-shimmer 4s ease-in-out infinite;
}
@keyframes pp-bod-shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* Quiz CTA: brilho pulsante */
.pp-quiz-cta {
  position: relative;
  overflow: hidden;
}
.pp-quiz-cta::after {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: skewX(-22deg);
  animation: pp-quiz-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pp-quiz-sweep {
  0%, 100% { left: -40%; }
  50%      { left: 110%; }
}
.pp-quiz-cta > .container { position: relative; z-index: 1; }

/* Section titles: underline gradiente decorativo */
.pp-section-title {
  position: relative;
  display: inline-block;
}
.pp-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: .55rem auto 0;
  background: linear-gradient(90deg, var(--pdx-red), var(--pdx-yellow));
  border-radius: 2px;
}
.d-flex .pp-section-title::after,
.pp-section-title[style*="margin-bottom"]::after { margin-left: 0; margin-right: 0; }

/* Respeita preferência de usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .pp-hero::after,
  .pp-hero-badge,
  .pp-breed-of-day-eyebrow,
  .pp-quiz-cta::after { animation: none !important; }
  .pp-breed-card-img::after { display: none; }
}

