
/* V12.0 - Pulse global no topo */
.header .menu a,
.site-header .menu a,
.header .btn-search,
.site-header .btn-search,
.header a.btn-search,
.site-header a.btn-search,
.header .header-actions a,
.site-header .header-actions a,
.header .header-actions button,
.site-header .header-actions button{
    position:relative !important;
    transition:transform .22s ease, box-shadow .22s ease, text-shadow .22s ease, background .22s ease, color .22s ease !important;
}

.header .menu a:hover,
.site-header .menu a:hover{
    transform:translateY(-2px) !important;
    animation:topMenuPulseText .95s ease-in-out infinite !important;
}

.header .btn-search:hover,
.site-header .btn-search:hover,
.header a.btn-search:hover,
.site-header a.btn-search:hover,
.header .header-actions a:hover,
.site-header .header-actions a:hover,
.header .header-actions button:hover,
.site-header .header-actions button:hover{
    transform:translateY(-2px) scale(1.025) !important;
    animation:topButtonPulseGlow 1.15s ease-in-out infinite !important;
}

@keyframes topMenuPulseText{
    0%{text-shadow:0 0 0 rgba(255,255,255,0)}
    50%{text-shadow:0 0 15px rgba(255,255,255,.52)}
    100%{text-shadow:0 0 0 rgba(255,255,255,0)}
}

@keyframes topButtonPulseGlow{
    0%{box-shadow:0 0 0 0 rgba(214,132,9,.34), 0 12px 32px rgba(0,0,0,.12)}
    65%{box-shadow:0 0 0 12px rgba(214,132,9,0), 0 18px 38px rgba(0,0,0,.16)}
    100%{box-shadow:0 0 0 0 rgba(214,132,9,0), 0 12px 32px rgba(0,0,0,.12)}
}

/* V12.0 - Campo principal da busca com placeholder suave e efeito de digitação */
.search-q,
input[name="q"],
input[name="search"],
.search-grid input[type="text"]:first-child{
    transition:color .22s ease, opacity .22s ease, letter-spacing .22s ease, box-shadow .22s ease, transform .22s ease !important;
    caret-color:#fff !important;
}

.search-q::placeholder,
input[name="q"]::placeholder,
input[name="search"]::placeholder,
.search-grid input[type="text"]:first-child::placeholder{
    transition:opacity .22s ease, letter-spacing .22s ease, transform .22s ease !important;
}

.search-q:hover::placeholder,
.search-q:focus::placeholder,
input[name="q"]:hover::placeholder,
input[name="q"]:focus::placeholder,
input[name="search"]:hover::placeholder,
input[name="search"]:focus::placeholder,
.search-grid input[type="text"]:first-child:hover::placeholder,
.search-grid input[type="text"]:first-child:focus::placeholder{
    opacity:.18 !important;
    letter-spacing:.08em !important;
}

.search-q:hover,
.search-q:focus,
input[name="q"]:hover,
input[name="q"]:focus,
input[name="search"]:hover,
input[name="search"]:focus,
.search-grid input[type="text"]:first-child:hover,
.search-grid input[type="text"]:first-child:focus{
    transform:translateY(-1px) !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.28), 0 0 0 5px rgba(255,255,255,.055) !important;
}

/* Linha/cursor animado dentro do campo quando focado */
.search-q.typing-focus,
input.typing-focus{
    animation:searchTypingPulse 1.05s ease-in-out infinite !important;
}

@keyframes searchTypingPulse{
    0%{letter-spacing:0}
    50%{letter-spacing:.025em}
    100%{letter-spacing:0}
}
