/*
Theme Name: ProSeuPet
Theme URI: https://proseupet.com.br
Author: Pesquisador Pet
Description: Site informativo e educativo sobre cuidados com pets
Version: 1.1
Text Domain: proseupet
*/

/* =====================================================
   HERO - AJUSTES GERAIS
===================================================== */

body.home .site-content,
body.home #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =====================================================
   BOTÕES HERO
===================================================== */

.hero-botao {
    display: inline-block;
    padding: 12px 20px;
    background: #19443C !important;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(25, 68, 60, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    animation: partnerPulse 2s infinite;
}

.hero-botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(25, 68, 60, 0.5);
}

/* =====================================================
   GRID DE NOTÍCIAS RESPONSIVO
===================================================== */

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* =====================================================
   BOTÕES PARCEIROS
===================================================== */

.partners-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.partner-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 162px !important;
    height: 64px !important;
    gap: 6px !important;
    text-decoration: none !important;
    text-align: center !important;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: partnerPulse 2.8s infinite;
}

.partner-btn .btn-icon {
    font-size: 2.5rem !important;
    line-height: 1 !important;
}

.partner-btn .btn-text {
    font-size: 1.20rem !important;
    line-height: 1 !important;
}

/* Pulsação padrão */

@keyframes partnerPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(25, 68, 60, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(25, 68, 60, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(25, 68, 60, 0); }
}

/* Petlove diferente */

.petlove-btn {
    animation: petlovePulse 3.8s infinite !important;
}

@keyframes petlovePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 163, 108, 0.4); }
    70% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(10, 163, 108, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 163, 108, 0); }
}

/* =====================================================
   BUSCA HERO
===================================================== */

.hero-search {
    margin: 25px 0 20px 0;
    display: flex;
    justify-content: center;
}

.hero-search form {
    display: flex;
    width: 100%;
    max-width: 520px;
}

.hero-search input[type="search"] {
    flex: 1;
    padding: 14px 22px;
    border-radius: 40px 0 0 40px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.hero-search button {
    padding: 14px 24px;
    border-radius: 0 40px 40px 0;
    border: none;
    background: #19443C;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.hero-search button:hover {
    background: #0f2e29;
}

/* =====================================================
   HEADER PROFISSIONAL
===================================================== */

/* Estrutura base */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Transparente no topo */
#masthead {
    background: transparent;
}

/* Branco ao rolar */
#masthead.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Header compacto */
#masthead,
#masthead .container,
#masthead .header-inner {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Logo tamanho ideal */
#masthead .custom-logo {
    max-height: 58px !important;
    width: auto !important;
}

/* Container largura total apenas no header */
#masthead .container {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Ajuste fino lateral do logo */
#masthead .site-branding {
    margin-left: 14px !important;
}

/* ==============================
   LOGO + SLOGAN
============================== */

#masthead .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
}

/* Logo um pouco maior */
#masthead .custom-logo {
    max-height: 58px !important;
    width: auto !important;
}

/* Estilo do slogan */
.logo-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: #19443C;
    white-space: nowrap;
}

/* FORÇAR VISIBILIDADE DO SLOGAN */
.logo-tagline {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #19443C !important;
    font-size: 16px !important;
}

#masthead .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.logo-tagline {
    margin-left: 0 !important;
}

.logo-tagline {
    background: white;
}

/* Compensar header fixo no mobile - HOME */
@media (max-width: 768px) {
    body.home .site-content,
    body.home #content,
    body.home .hero,
    body.home section:first-of-type {
        margin-top: 70px !important;
    }
}

/* BUSCA FORA DO HERO */
.hero-search-outside {
    display: flex;
    justify-content: center;
    margin: 20px auto 30px auto;
    padding: 0 15px;
}

.hero-search-outside form {
    width: 100%;
    max-width: 520px;
}

/* DESKTOP */
@media (min-width: 769px) {
    .busca-mobile {
        display: none !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .busca-hero {
        display: none !important;
    }
}

/* Remove toda a seção de autor e datas */
.article-meta {
    display: none !important;
}

/* Remove a categoria */
.article-categories {
    display: none !important;
}

/* Remove a imagem destacada APENAS na visualização do post individual */
.single-post .wp-post-image {
    display: none !important;
}

/* Remove a categoria de todos os cards de post na página inicial */
.home .psp-categoria,
.front-page .psp-categoria {
    display: none !important;
}