/*
Theme Name: Pet Minha Vida Blog
Theme URI: https://blog.petminhavida.com
Author: Pet Minha Vida
Author URI: https://petminhavida.com
Description: Tema WordPress moderno e dinâmico para o blog de pets do petminhavida.com. Layout com hero em destaque, categorias, grid de matérias, sidebar com newsletter e busca responsiva com menu hambúrguer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: petminhavida
Tags: blog, pets, custom-menu, custom-logo, featured-images, responsive-layout, translation-ready
*/


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a {text-decoration: none;}
    :root {
      --cream:    #fdf6ec;
      --sand:     #f0e4cf;
      --terracota:#c9623f;
      --terracota-dark: #a8472a;
      --forest:   #2e5a3b;
      --leaf:     #4a8c5c;
      --gold:     #e6a817;
      --ink:      #1e1a16;
      --muted:    #7a6e62;
      --white:    #ffffff;
      --radius:   18px;
      --nav-h:    70px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--cream);
      color: var(--ink);
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ─── NOISE TEXTURE OVERLAY ─── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: .4;
    }

    /* ─── CONTAINER ─── */
    .container {
      width: 100%;
      max-width: 1220px;
      margin-left: auto;
      margin-right: auto;
      padding-left: clamp(16px, 4vw, 40px);
      padding-right: clamp(16px, 4vw, 40px);
    }

    /* ─── NAVBAR ─── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      height: var(--nav-h);
      background: var(--white);
      border-bottom: 2px solid var(--sand);
      box-shadow: 0 2px 20px rgba(0,0,0,.06);
    }
    .nav-inner {
      max-width: 1220px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 0 clamp(16px, 4vw, 40px);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
      width:  200px;
    }

    .nav-logo img {
    width: 100%;
}
    .nav-logo-icon {
      width: 42px; height: 42px;
      background: var(--terracota);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
      animation: pulse 3s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { transform: scale(1); }
      50%      { transform: scale(1.07); }
    }
    .nav-logo-text {
      font-family: 'Fraunces', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.1;
    }
    .nav-logo-text span { color: var(--terracota); }
    .nav-logo-sub {
      font-size: .7rem;
      color: var(--muted);
      font-weight: 400;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 4px;
      margin-left: 30px;
    }
    .nav-links a {
      text-decoration: none;
      color: var(--muted);
      font-size: .88rem;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: 50px;
      transition: background .2s, color .2s;
    }
    .nav-links a:hover, .nav-links a.active {
      background: var(--sand);
      color: var(--ink);
    }
    .nav-links a.active { color: var(--terracota); font-weight: 600; }

    /* search bar */
    .nav-search {
      margin-left: auto;
      position: relative;
      display: flex;
      align-items: center;
    }
    .search-input {
      width: 220px;
      padding: 8px 40px 8px 16px;
      border: 2px solid var(--sand);
      border-radius: 50px;
      background: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: .85rem;
      color: var(--ink);
      outline: none;
      transition: border-color .25s, width .35s, box-shadow .25s;
    }
    .search-input:focus {
      border-color: var(--terracota);
      box-shadow: 0 0 0 3px rgba(201,98,63,.15);
      width: 280px;
    }
    .search-input::placeholder { color: var(--muted); }
    .search-btn {
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--muted);
      display: flex;
      align-items: center;
      font-size: 16px;
      transition: color .2s;
      top: 10px;
    }
    .search-btn:hover { color: var(--terracota); }

    /* search results dropdown */
    .search-results {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: 320px;
      background: var(--white);
      border: 2px solid var(--sand);
      border-radius: var(--radius);
      box-shadow: 0 10px 40px rgba(0,0,0,.12);
      z-index: 200;
      overflow: hidden;
    }
    .search-results.active { display: block; animation: dropIn .2s ease; }
    @keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
    .search-result-item {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 16px;
      cursor: pointer;
      border-bottom: 1px solid var(--sand);
      transition: background .15s;
    }
    .search-result-item:last-child { border-bottom: none; }
    .search-result-item:hover { background: var(--cream); }
    .search-result-thumb {
      width: 44px; height: 44px; border-radius: 10px;
      object-fit: cover; flex-shrink: 0;
      background: var(--sand);
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
    }
    .search-result-info { flex: 1; min-width: 0; }
    .search-result-title { font-size: .83rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .search-result-cat { font-size: .73rem; color: var(--terracota); font-weight: 500; margin-top: 2px; }
    .search-no-result { padding: 18px 16px; color: var(--muted); font-size: .88rem; text-align: center; }

    /* hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      margin-left: 12px;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block; width: 24px; height: 2.5px;
      background: var(--ink); border-radius: 2px;
      transition: transform .3s, opacity .3s, width .3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* mobile drawer */
    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-h);
      left: 0; right: 0; bottom: 0;
      background: var(--white);
      z-index: 90;
      flex-direction: column;
      padding: 30px 24px;
      gap: 6px;
      overflow-y: auto;
      transform: translateX(-100%);
      transition: transform .35s cubic-bezier(.4,0,.2,1);
    }
    .mobile-menu.open { display: flex; transform: translateX(0); }
    .mobile-menu a {
      text-decoration: none;
      color: var(--ink);
      font-size: 1.1rem;
      font-weight: 500;
      padding: 13px 16px;
      border-radius: 12px;
      transition: background .2s;
    }
    .mobile-menu a:hover { background: var(--sand); }
    .mobile-menu a.active { color: var(--terracota); background: var(--sand); }
    .mobile-search {
      margin-top: 16px;
      display: flex;
      align-items: center;
      border: 2px solid var(--sand);
      border-radius: 50px;
      overflow: hidden;
      background: var(--cream);
    }
    .mobile-search input {
      flex: 1; border: none; background: none;
      padding: 11px 16px;
      font-family: 'DM Sans', sans-serif;
      font-size: .9rem; color: var(--ink); outline: none;
    }
    .mobile-search button {
      background: var(--terracota); border: none;
      padding: 11px 16px; color: #fff; cursor: pointer;
      font-size: 15px;
    }

    /* ─── HERO ─── */
    .hero {
      position: relative;
      overflow: hidden;
    }
    .hero-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
      padding-top: clamp(50px, 8vw, 90px);
      padding-bottom: clamp(50px, 8vw, 90px);
      position: relative;
    }
    .hero-bg-shape {
      position: absolute;
      right: -80px; top: -80px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
      opacity: .13;
      border-radius: 50%;
      pointer-events: none;
    }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--sand); color: var(--terracota);
      font-size: .8rem; font-weight: 600;
      padding: 5px 14px; border-radius: 50px;
      letter-spacing: .04em; text-transform: uppercase;
      margin-bottom: 18px;
      animation: fadeUp .6s ease both;
    }
    .hero h1 {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.7rem, 2.4vw, 2.5rem);
      font-weight: 900;
      line-height: 1.1;
      color: var(--ink);
      animation: fadeUp .6s .1s ease both;
    }
    .hero h1 em { color: var(--terracota); font-style: italic; }
    .hero-desc {
      margin-top: 18px;
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 440px;
      animation: fadeUp .6s .2s ease both;
    }
    .hero-cta {
      margin-top: 30px;
      display: flex; gap: 14px; flex-wrap: wrap;
      animation: fadeUp .6s .3s ease both;
    }
    .btn-primary {
      background: var(--terracota);
      color: #fff;
      padding: 13px 28px; border-radius: 50px;
      text-decoration: none; font-weight: 600; font-size: .92rem;
      transition: background .2s, transform .2s;
      border: none; cursor: pointer;
    }
    .btn-primary:hover { background: var(--terracota-dark); transform: translateY(-2px); }
    .btn-outline {
      border: 2px solid var(--sand);
      color: var(--ink);
      padding: 11px 24px; border-radius: 50px;
      text-decoration: none; font-weight: 500; font-size: .92rem;
      transition: border-color .2s, background .2s;
    }
    .btn-outline:hover { border-color: var(--terracota); background: var(--sand); }

    .hero-image-wrap {
      position: relative;
      animation: fadeUp .6s .2s ease both;
    }
    .hero-featured-card {
      background: var(--white);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,.12);
    }
    .hero-featured-img {
      width: 100%; height: 280px;
      background: linear-gradient(135deg, #e8cfa8 0%, #c9a070 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 100px;
      position: relative;
      overflow: hidden;
    }
    .hero-featured-img::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
    }
    .hero-featured-body { padding: 20px 22px; }
    .card-cat {
      font-size: .75rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .08em;
      color: var(--terracota);
    }
    .hero-featured-body h2 {
      font-family: 'Fraunces', serif;
      font-size: 1.35rem; font-weight: 700;
      margin: 6px 0 8px; line-height: 1.25;
    }
    .hero-featured-body h2 a { text-decoration: none; color: var(--ink); }
    .hero-featured-body h2 a:hover { color: var(--terracota); }
    .card-meta { font-size: .78rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: none; }
    }

    /* floating badges */
    .hero-badge {
      position: absolute;
      background: var(--white);
      border-radius: 14px;
      padding: 10px 14px;
      box-shadow: 0 8px 24px rgba(0,0,0,.1);
      display: flex; align-items: center; gap: 8px;
      font-size: .8rem; font-weight: 600; color: var(--ink);
      animation: float 4s ease-in-out infinite;
    }
    .hero-badge-1 { top: 14px; right: -16px; }
    .hero-badge-2 { bottom: 60px; left: -20px; animation-delay: -2s; }
    @keyframes float {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(-8px); }
    }

    /* ─── CATEGORIES BAR ─── */
    .categories-bar {
      margin-bottom: 50px;
    }
    .categories-bar h3 {
      font-family: 'Fraunces', serif;
      font-size: 1rem; color: var(--muted);
      margin-bottom: 14px;
      text-transform: uppercase; letter-spacing: .08em;
    }
    .cats-scroll {
      display: flex; gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .cats-scroll::-webkit-scrollbar { display: none; }
    .cat-pill {
      flex-shrink: 0;
      display: flex; align-items: center; gap: 7px;
      padding: 9px 18px;
      border-radius: 50px;
      border: 2px solid var(--sand);
      background: var(--white);
      cursor: pointer;
      font-size: .85rem; font-weight: 500; color: var(--ink);
      text-decoration: none;
      transition: border-color .2s, background .2s, transform .2s;
      white-space: nowrap;
    }
    .cat-pill:hover { border-color: var(--terracota); background: var(--sand); transform: translateY(-2px); }
    .cat-pill.active { background: var(--terracota); border-color: var(--terracota); color: #fff; }
    .cat-pill .emoji { font-size: 1.1em; }

    /* ─── MAIN GRID ─── */
    .main-content {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 40px;
      padding-bottom: 80px;
      align-items: start;
    }

    /* articles section */
    .section-header {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: 28px;
    }
    .section-title {
      font-family: 'Fraunces', serif;
      font-size: 1.8rem; font-weight: 700;
    }
    .section-line {
      flex: 1; height: 2px;
      background: linear-gradient(to right, var(--sand), transparent);
    }
    .section-link {
      font-size: .83rem; color: var(--terracota); font-weight: 600;
      text-decoration: none; white-space: nowrap;
    }
    .section-link:hover { text-decoration: underline; }

    /* article grid */
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .article-card {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,.06);
      transition: transform .3s, box-shadow .3s;
      cursor: pointer;
    }
    .article-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(0,0,0,.12);
    }
    .article-card.featured {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
    }
    .card-img {
      height: 200px;
      background: linear-gradient(135deg, #d4bfa0, #a07040);
      display: flex; align-items: center; justify-content: center;
      font-size: 70px;
      position: relative;
      overflow: hidden;
    }
    .article-card.featured .card-img { height: 100%; min-height: 260px; }
    .card-img .card-cat-badge {
      position: absolute; bottom: 12px; left: 12px;
      background: var(--terracota); color: #fff;
      font-size: .7rem; font-weight: 700; letter-spacing: .06em;
      padding: 3px 10px; border-radius: 50px; text-transform: uppercase;
    }
    .card-body { padding: 18px; }
    .card-body .card-cat { margin-bottom: 6px; }
    .card-body h3 {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem; font-weight: 700; line-height: 1.3;
      color: var(--ink); margin-bottom: 8px;
    }
    .article-card.featured .card-body h3 { font-size: 1.4rem; }
    .card-body h3 a { text-decoration: none; color: inherit; }
    .card-body h3 a:hover { color: var(--terracota); }
    .card-excerpt {
      font-size: .85rem; color: var(--muted);
      line-height: 1.55; margin-bottom: 14px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .card-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 12px; border-top: 1px solid var(--sand);
    }
    .card-author {
      display: flex; align-items: center; gap: 8px;
    }
    .avatar {
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--sand); display: flex; align-items: center;
      justify-content: center; font-size: 14px;
    }
    .author-name { font-size: .78rem; font-weight: 600; color: var(--ink); }
    .card-date { font-size: .75rem; color: var(--muted); }
    .card-read-time {
      font-size: .75rem; color: var(--muted);
      background: var(--cream); padding: 3px 10px; border-radius: 50px;
    }

    /* ─── SIDEBAR ─── */
    .sidebar { display: flex; flex-direction: column; gap: 28px; }

    .widget {
      background: var(--white);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: 0 4px 20px rgba(0,0,0,.05);
    }
    .widget-title {
      font-family: 'Fraunces', serif;
      font-size: 1.1rem; font-weight: 700;
      color: var(--ink); margin-bottom: 16px;
      display: flex; align-items: center; gap: 8px;
    }

    /* newsletter widget */
    .widget-newsletter {
      background: linear-gradient(135deg, var(--forest) 0%, var(--leaf) 100%);
      color: #fff;
    }
    .widget-newsletter .widget-title { color: #fff; }
    .widget-newsletter p { font-size: .87rem; opacity: .9; margin-bottom: 16px; line-height: 1.5; }
    .newsletter-form { display: flex; flex-direction: column; gap: 10px; }
    .newsletter-form input {
      padding: 10px 16px; border-radius: 50px;
      border: 2px solid rgba(255,255,255,.3);
      background: rgba(255,255,255,.15);
      color: #fff; font-family: 'DM Sans', sans-serif;
      font-size: .88rem; outline: none;
      transition: border-color .2s;
    }
    .newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
    .newsletter-form input:focus { border-color: rgba(255,255,255,.7); }
    .newsletter-form .btn-primary {
      background: var(--gold); color: var(--ink);
    }
    .newsletter-form .btn-primary:hover { background: #d49800; }

    /* trending */
    .trending-list { display: flex; flex-direction: column; gap: 14px; }
    .trending-item {
      display: flex; gap: 12px; align-items: flex-start;
      cursor: pointer; transition: opacity .2s; text-decoration: none;
    }
    .trending-item:hover { opacity: .75; }
    .trending-num {
      font-family: 'Fraunces', serif; font-size: 1.6rem;
      font-weight: 900; color: rgb(255, 131, 131); line-height: 1;
      flex-shrink: 0; width: 28px;
    }
    .trending-info { flex: 1; min-width: 0; }
    .trending-title {
      font-size: .88rem; font-weight: 600; color: var(--ink);
      line-height: 1.3; margin-bottom: 3px;
    }
    .trending-meta { font-size: .75rem; color: var(--muted); }

    /* tags widget */
    .tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
      padding: 5px 13px; border-radius: 50px;
      background: var(--cream); font-size: .8rem;
      color: var(--muted); font-weight: 500; cursor: pointer;
      border: 1.5px solid var(--sand);
      text-decoration: none;
      transition: background .2s, color .2s, border-color .2s;
    }
    .tag:hover { background: var(--terracota); color: #fff; border-color: var(--terracota); }

    /* ─── TOPIC ROWS ─── */
    .topic-section { padding-bottom: 70px; }
    .mini-cards-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 20px;
    }
    .mini-card {
      background: var(--white);
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 4px 16px rgba(0,0,0,.05);
      cursor: pointer;
      transition: transform .3s, box-shadow .3s;
    }
    .mini-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
    .mini-card-img {
      height: 140px;
      display: flex; align-items: center; justify-content: center;
      font-size: 56px; position: relative;
    }
    .mini-card-body { padding: 14px; }
    .mini-card-body .card-cat { margin-bottom: 4px; }
    .mini-card-body h4 {
      font-family: 'Fraunces', serif;
      font-size: .97rem; font-weight: 700; line-height: 1.3;
      color: var(--ink); margin-bottom: 6px;
    }
    .mini-card-body h4 a { text-decoration: none; color: inherit; }
    .mini-card-body h4 a:hover { color: var(--terracota); }
    .mini-card-meta { font-size: .75rem; color: var(--muted); }

    /* ─── BANNER AD-FREE ─── */
    .promo-banner-wrap {
      background: linear-gradient(135deg, var(--terracota) 0%, #e8844f 60%, var(--gold) 100%);
      margin-bottom: 60px;
    }
    .promo-banner {
      padding: clamp(30px, 5vw, 50px) 0;
      display: flex; align-items: center; gap: 30px;
      overflow: hidden; position: relative;
    }
    .promo-banner::before {
      content: '🐾';
      position: absolute; right: 30px; top: 50%;
      transform: translateY(-50%) rotate(-15deg);
      font-size: 120px; opacity: .15;
      pointer-events: none;
    }
    .promo-content { flex: 1; }
    .promo-content h2 {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 900; color: #fff; margin-bottom: 8px;
    }
    .promo-content p { color: rgba(255,255,255,.85); font-size: .95rem; }
    .btn-white {
      background: #fff; color: var(--terracota);
      padding: 13px 28px; border-radius: 50px;
      font-weight: 700; font-size: .9rem;
      text-decoration: none; white-space: nowrap;
      transition: transform .2s;
      flex-shrink: 0;
    }
    .btn-white:hover { transform: translateY(-2px); }

    /* ─── FOOTER ─── */
    footer {
      background: var(--ink);
      color: rgba(255,255,255,.7);
      padding: 50px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px; margin-bottom: 40px;
    }
    .footer-brand .nav-logo-text { color: #fff; }
    .footer-brand .nav-logo-text span { color: var(--gold); }
    .footer-desc { margin-top: 12px; font-size: .85rem; line-height: 1.6; }
    .footer-socials { display: flex; gap: 10px; margin-top: 18px; }
    .social-btn {
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,.1);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; cursor: pointer;
      transition: background .2s; text-decoration: none;
    }
    .social-btn:hover { background: var(--terracota); }
    .footer-col h4 {
      color: #fff; font-size: .9rem; font-weight: 700;
      margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-col ul li a {
      color: rgba(255,255,255,.6); text-decoration: none;
      font-size: .85rem; transition: color .2s;
    }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.1);
      padding-top: 22px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px;
      font-size: .8rem; color: rgba(255,255,255,.4);
    }
    .footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
    .footer-bottom a:hover { color: #fff; }

    /* ─── BACK TO TOP ─── */
    .back-top {
      position: fixed; bottom: 28px; right: 28px;
      width: 44px; height: 44px;
      background: var(--terracota); color: #fff;
      border-radius: 50%; border: none; cursor: pointer;
      font-size: 18px; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 16px rgba(201,98,63,.4);
      opacity: 0; pointer-events: none;
      transition: opacity .3s, transform .3s;
      z-index: 80;
    }
    .back-top.visible { opacity: 1; pointer-events: auto; }
    .back-top:hover { transform: translateY(-3px); }

    /* padroes wordpress*/

    .wp-block-table thead{
      border-bottom: 1px solid;
     background: var(--sand);
      text-align: center;
      color: var(--terracota);
    }

    /* rotulo pet cadastro*/

    	.pet-cad h1 {
			font-size: clamp(1.3rem, 2.1vw, 2.4rem);
			font-weight: 600;
			line-height: 1.1;
		}

		.pet-img {
			width: 80%;
			margin: 0 auto
		}

		.pet-img img {
			width: 100%;
		}

		.pet-cad p {
			font-size: clamp(1rem, 2vw, 1.35rem);
			line-height: 1.2;
		}

		.btn-pet-cad {
			display: inline-block;
			padding:
				clamp(.5rem, .8vw, 1rem) clamp(1.2rem, 1.5vw, 2.1rem);

			font-size: clamp(1rem, 1.2vw, 1.35rem);
			font-weight: 700;

			background: #1976d2;
			color: #fff !important;
			text-decoration: none;
			border-radius: clamp(8px, .8vw, 16px);

			white-space: nowrap;

			transition: .3s;
			float: right;
		}

		.btn-pet-cad:hover{
			background:#0d5db3;
    transform:translateY(-2px);
		}

		.pet-cad-mini {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: clamp(.5rem, 1vw, 1.5rem);
			background-color: beige;
			width: min(95%, 1400px);
			margin-inline: auto;
			padding: clamp(.7rem, 1.5vw, 1.5rem);
			flex-wrap: wrap;
			border-radius: 10px;
		}

		/* Imagem */
		.pet-img {
			flex: 0 1 clamp(180px, 25vw, 300px);
		}

		.pet-img img {
			display: block;
			width: 100%;
			height: auto;
		}

		.pet-content{
			 flex:1;
		}
		.pet-content h2{
			   font-size:clamp(1rem, 1.5vw, 1.7rem);
			   
    line-height:1.1;
    margin-bottom:.5rem;
    color:#1f4c97;

		}
		.pet-btn{
			flex:0 0 auto;
		}


    /* ─── RESPONSIVE ─── */
    @media (max-width: 1100px) {
      .main-content { grid-template-columns: 1fr; }
      .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
      .widget-newsletter { grid-column: 1 / -1; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    /* ─── MOBILE SEARCH TOGGLE BTN ─── */
    .nav-search-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 20px;
      padding: 6px;
      color: var(--ink);
      margin-left: auto;
      transition: color .2s;
    }
    .nav-search-toggle:hover { color: var(--terracota); }

    /* ─── MOBILE SEARCH BAR (below nav) ─── */
    .mobile-search-bar {
      display: none;
      position: sticky;
      top: var(--nav-h);
      z-index: 99;
      background: var(--white);
      border-bottom: 2px solid var(--sand);
      padding: 10px 16px;
      box-shadow: 0 4px 16px rgba(0,0,0,.08);
      animation: slideDown .25s ease;
    }
    .mobile-search-bar.visible { display: block; }
    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to   { opacity: 1; transform: none; }
    }
    .mobile-search-inner {
      display: flex;
      align-items: center;
      background: var(--cream);
      border: 2px solid var(--sand);
      border-radius: 50px;
      overflow: hidden;
      transition: border-color .25s;
    }
    .mobile-search-inner:focus-within {
      border-color: var(--terracota);
      box-shadow: 0 0 0 3px rgba(201,98,63,.15);
    }
    .mobile-search-inner input {
      flex: 1; border: none; background: none;
      padding: 11px 16px;
      font-family: 'DM Sans', sans-serif;
      font-size: .95rem; color: var(--ink); outline: none;
    }
    .mobile-search-inner input::placeholder { color: var(--muted); }
    .mobile-search-inner button {
      background: var(--terracota); border: none;
      padding: 11px 18px; color: #fff; cursor: pointer;
      font-size: 16px; transition: background .2s;
    }
    .mobile-search-inner button:hover { background: var(--terracota-dark); }

    /* mobile search results */
    .mobile-search-results {
      display: none;
      margin-top: 8px;
      background: var(--white);
      border: 2px solid var(--sand);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(0,0,0,.1);
    }
    .mobile-search-results.active { display: block; }

    @media (max-width: 800px) {
      .nav-links { display: none; }
      .nav-search { display: none; }
      .nav-search-toggle { display: flex; align-items: center; }
      .hamburger { display: flex; margin-left: 4px; }
      .hero-container { grid-template-columns: 1fr; }
      .hero-image-wrap { display: none; }
      .articles-grid { grid-template-columns: 1fr; }
      .article-card.featured { grid-template-columns: 1fr; }
      .article-card.featured .card-img { height: 220px; }
      .sidebar { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .promo-banner { flex-direction: column; text-align: center; padding-left: 0; padding-right: 0; }
    }
    @media (max-width: 500px) {
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    /* ─── GRADIENTS PER CATEGORY ─── */
    .bg-dog    { background: linear-gradient(135deg, #f4d3a4, #c98b4a); }
    .bg-cat    { background: linear-gradient(135deg, #d4c0e8, #9b7fc4); }
    .bg-bird   { background: linear-gradient(135deg, #b8e0cc, #4a8c5c); }
    .bg-fish   { background: linear-gradient(135deg, #a8d8f0, #3a7fac); }
    .bg-health { background: linear-gradient(135deg, #f0c8c8, #c05050); }
    .bg-food   { background: linear-gradient(135deg, #f0e0a0, #c0950a); }
    .bg-tips   { background: linear-gradient(135deg, #c8e0f0, #3a6090); }

/* ════════════════════════════════════════
   WORDPRESS EXTRAS — Single / Página / Arquivo / Busca
   ════════════════════════════════════════ */

/* card-img usado como thumbnail real (imagem destacada) */
.card-img img,
.mini-card-img img,
.hero-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.card-img, .mini-card-img, .hero-featured-img { position: relative; }
.card-img .emoji-fallback, .mini-card-img .emoji-fallback, .hero-featured-img .emoji-fallback {
  position: relative; z-index: 1;
}

/* breadcrumb simples */
.breadcrumb {
  font-size: .82rem; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--terracota); }

/* ── Página de artigo único (single.php) ── */
.single-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 50px;
}
.single-article .card-cat { margin-bottom: 14px; }
.single-article h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}
.single-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 30px;
  border-bottom: 2px solid var(--sand);
}
.single-thumb {
  width: 100%; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 36px;
  height: 360px;
  background: var(--sand);
}
.single-thumb img { width: 100%; height: 100%; object-fit: cover; display:block; }

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.entry-content p { margin-bottom: 22px; }
.entry-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 700;
  margin: 40px 0 16px; color: var(--ink);
}
.entry-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem; font-weight: 700;
  margin: 32px 0 14px; color: var(--ink);
}
.entry-content ul, .entry-content ol { margin: 0 0 22px 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--terracota); text-decoration: underline; }
.entry-content img { max-width: 100%; border-radius: 14px; margin: 24px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--terracota);
  background: var(--sand);
  padding: 16px 22px; border-radius: 0 14px 14px 0;
  margin: 26px 0; font-style: italic; color: var(--ink);
}
.entry-content figure { margin: 24px 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

/* tags do artigo */
.entry-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 36px 0; padding-top: 24px;
  border-top: 2px solid var(--sand);
}

/* compartilhamento social */
.entry-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 30px 0;
}
.entry-share span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.entry-share a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.entry-share a:hover { background: var(--terracota); border-color: var(--terracota); color: #fff; }

.share-whatsapp{background: #2e5a3b !important;}
.share-facebook{background: rgb(38, 38, 134) !important;}


/* ── BOTÃO COMPARTILHAR ── */
  .share-section {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.1rem;
  }

  .share-btn-main {
    width: 100%;
    padding: 15px 20px;
    border-radius: 14px;
    border: none;
    background: var(--danger);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(211,47,47,0.35);
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .share-btn-main:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(211,47,47,0.2); }

  .share-grid {
    
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }

  .share-social {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; padding: 12px 6px;
    border-radius: 13px; border: 1px solid var(--border);
    background: #fff; cursor: pointer;
    font-size: 1rem; font-weight: 500; color: var(--mid);
    transition: transform 0.15s;
  }

  .share-social:active { transform: scale(0.94); }
  .share-social .s-icon { font-size: 22px; }

  .s-whats { border-color: #25D366; color: green;}
  .s-whats .s-icon::after { content: ''; }


  /* TOAST */
  .toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--ink); color: #fff;
    padding: 10px 20px; border-radius: 100px;
    font-size: 13px; font-weight: 500;
    opacity: 0; transition: all 0.3s ease;
    z-index: 999; white-space: nowrap;
    pointer-events: none;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* autor box */
.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 22px; margin: 36px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.author-box .avatar { width: 56px; height: 56px; font-size: 26px; flex-shrink: 0; }
.author-box h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: 4px; }
.author-box p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* navegação entre posts */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 40px 0;
}
.post-nav a {
  display: block; padding: 16px 18px;
  background: var(--white); border-radius: 14px;
  text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.05);
  transition: transform .2s;
}
.post-nav a:hover { transform: translateY(-3px); }
.post-nav .nav-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.post-nav .nav-title { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.post-nav.nav-next { text-align: right; }

/* comentários */
.comments-section { margin-top: 50px; }
.comments-title {
  font-family: 'Fraunces', serif; font-size: 1.4rem;
  font-weight: 700; margin-bottom: 24px;
}
.comment-list { list-style: none; }
.comment-body {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--sand);
}
.comment-author { font-weight: 700; font-size: .9rem; color: var(--ink); }
.comment-date { font-size: .75rem; color: var(--muted); margin-left: 8px; }
.comment-text { margin-top: 6px; font-size: .92rem; color: var(--ink); line-height: 1.6; }
.comment-reply-link { font-size: .78rem; color: var(--terracota); text-decoration: none; font-weight: 600; }
.comment-respond { margin-top: 30px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 11px 16px;
  border: 2px solid var(--sand); border-radius: 12px;
  background: var(--cream); font-family: 'DM Sans', sans-serif;
  font-size: .9rem; outline: none; margin-bottom: 14px;
  transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--terracota); }
.comment-form textarea { min-height: 120px; resize: vertical; }

/* ── Página padrão (page.php) ── */
.page-content-wrap {
  max-width: 860px; margin: 0 auto;
  padding: 50px 0 80px;
}
.page-content-wrap h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 28px;
}

/* ── Arquivo / Categoria / Busca (archive.php / search.php) ── */
.archive-header {
  padding: 40px 0 30px;
  text-align: center;
}
.archive-header .hero-tag { margin-bottom: 14px; }
.archive-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; margin-bottom: 10px;
}
.archive-header p { color: var(--muted); }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 60px;
}
.no-results {
  text-align: center; padding: 60px 20px;
  color: var(--muted);
}
.no-results .big-emoji { font-size: 60px; margin-bottom: 16px; }

/* ── Paginação ── */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 70px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 10px; text-decoration: none;
  font-size: .88rem; font-weight: 600;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--sand);
  transition: background .2s, border-color .2s;
}
.pagination a:hover { border-color: var(--terracota); background: var(--sand); }
.pagination .current { background: var(--terracota); border-color: var(--terracota); color: #fff; }

/* widgets genéricos do WP (sidebar.php) */
.widget ul { list-style: none; }
.widget select {
  width: 100%; padding: 10px 14px;
  border: 2px solid var(--sand); border-radius: 50px;
  background: var(--cream); font-family: 'DM Sans', sans-serif;
}

/* skip link acessibilidade */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--terracota); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

@media (max-width: 800px) {
  .archive-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .single-thumb { height: 220px; }
}
