/*!
Theme Name: VULP
Theme URI: https://vulpmarcas.com.br/
Author: Tainá Selayaran
Description: Tema institucional exclusivo e de alto impacto desenvolvido sob medida para a Vulp Registro de Marcas.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vulp

This theme, like WordPress, is licensed under the GPL.
Developed with pride by Tainá Selayaran.
*/

html {
    scroll-behavior: smooth;
}

/* Prevenção global de quebras de layout e rolagem horizontal indesejada */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   IDENTIDADE VISUAL DA VULP - MAPEADA DO GUIA DA MARCA
   ========================================================================== */
:root {
    /* Cores Primárias */
    --vulp-gold: #D5B699;       /* Bege/Dourado sofisticado */
    --vulp-dark: #202A34;       /* Azul Escuro/Grafite institucional */
    --vulp-light: #F2F1F0;      /* Off-White para fundos limpos */

    /* Tons de Apoio */
    --vulp-gold-dark: #B29275;  /* Dourado escuro para hovers/detalhes */
    --vulp-bg-dark: #161E26;    /* Grafite profundo */
    --vulp-gray: #B4B4B4;       /* Cinza para textos secundários */
    
    /* Cor de Conversão (WhatsApp) */
    --vulp-whatsapp: #25D366;

    /* Tipografia */
    --font-heading: 'Eye Quirky Demo', 'Calibri', sans-serif;
    --font-body: 'Calibri', Arial, sans-serif;
}

/* Reset Básico de Margens para garantir consistência */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--vulp-dark) !important; /* Força o fundo escuro institucional global */
    color: var(--vulp-light);
    line-height: 1.6;
}

#page {
    background: transparent !important;
}

/* Estilização das Tags de Texto */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: inherit; /* Herda a cor do container pai evitando conflitos claro/escuro */
    font-weight: 700;
}

a {
    color: var(--vulp-gold-dark);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--vulp-gold);
}

/* Componente de Botão Global */
.btn-vulp {
    display: inline-block;
    background-color: var(--vulp-light);
    color: var(--vulp-dark);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-vulp:hover {
    background-color: var(--vulp-gold);
    color: var(--vulp-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   ESTILO DA PÁGINA HOME (HERO)
   ========================================================================== */
.hero-vulp {
    background-color: var(--vulp-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 80px 20px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.vulp-main-logo {
    max-width: 550px;
    height: auto;
    display: block;
    width: 100%;
}

/* Título e Slogan com Animação de Entrada */
.hero-content h1 {
    color: var(--vulp-light);
    font-size: 1.5rem !important;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-content h1 span {
    color: var(--vulp-gold);
    font-weight: 600;
    display: inline-block;
    opacity: 0;
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

/* Aplica atraso na entrada do botão da Hero para acompanhar o ritmo visual */
.hero-content .btn-vulp {
    opacity: 0;
    animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

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

/* ==========================================================================
   MENU FIXO COM EFEITO BLUR / HOVER / ACESSIBILIDADE
   ========================================================================== */
.site-header-vulp {
    background-color: transparent !important;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revela o menu no hover do mouse ou quando elementos internos ganham foco via teclado (Tab) */
body:hover .site-header-vulp,
.site-header-vulp:hover,
.site-header-vulp:focus-within {
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(22, 30, 38, 0.7) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header-vulp.scrolled {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background-color: rgba(22, 30, 38, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(213, 182, 153, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.nav-menu-vulp {
    display: flex;
    list-style: none;
}

.nav-menu-vulp li {
    margin-left: 5px;
}

.nav-menu-vulp a {
    color: var(--vulp-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 4px;
    display: block;
}

.nav-menu-vulp a:hover {
    background-color: var(--vulp-gold);
    color: var(--vulp-dark) !important;
}

/* ==========================================================================
   SEÇÃO "SOBRE"
   ========================================================================== */
.about-vulp {
    background-color: var(--vulp-light);
    padding: 120px 20px;
}

.about-container {
    max-width: 850px;
    margin: 0 auto;
}

.about-vertical-flow {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    color: var(--vulp-dark);
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-text h2 span {
    color: var(--vulp-gold-dark);
}

.about-text p {
    color: #4A5568;
    font-size: 1.15rem;
    margin-bottom: 22px;
    text-align: justify;
    line-height: 1.7;
}

.about-text .highlight-p {
    font-size: 1.35rem;
    color: var(--vulp-dark);
    font-weight: 600;
    border-top: 2px solid var(--vulp-gold);
    border-bottom: 2px solid var(--vulp-gold);
    padding: 20px 0;
    margin: 35px 0;
    text-align: center;
}

.about-card {
    background-color: var(--vulp-bg-dark);
    padding: 45px 40px;
    border-radius: 8px;
    border-top: 4px solid var(--vulp-gold);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    width: 100%;
}

.about-card h3 {
    color: var(--vulp-light);
    font-size: 1.4rem;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: 0.5px;
}

.pillars-horizontal-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.pillars-horizontal-list li {
    color: var(--vulp-gray);
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pillars-horizontal-list li .card-svg-icon {
    width: 35px;
    height: 35px;
    fill: var(--vulp-gold);
    margin-bottom: 15px;
}

.pillars-horizontal-list li strong {
    color: var(--vulp-light);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-footer-text {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--vulp-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-svg-lock {
    width: 16px;
    height: 16px;
    fill: var(--vulp-gold);
}

/* ==========================================================================
   SEÇÃO SERVIÇOS
   ========================================================================== */
.services-vulp {
    background-color: var(--vulp-dark);
    padding: 100px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    color: var(--vulp-light);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-header h2 span {
    color: var(--vulp-gold);
}

.services-header p {
    color: var(--vulp-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--vulp-bg-dark);
    padding: 35px 25px;
    border-radius: 6px;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--vulp-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--vulp-gold);
}

.service-card h3 {
    color: var(--vulp-light);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--vulp-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    margin-top: auto;
}

.service-list li {
    color: var(--vulp-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.85;
}

.service-link-cta {
    color: var(--vulp-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.service-link-cta:hover {
    color: var(--vulp-light);
}

.services-footer {
    text-align: center;
    background-color: rgba(213, 182, 153, 0.05);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(213, 182, 153, 0.1);
}

.services-footer p {
    color: var(--vulp-light);
    font-size: 1rem;
}

.services-footer a {
    color: var(--vulp-gold);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   SEÇÃO CONTATO
   ========================================================================== */
.contact-vulp {
    background-color: var(--vulp-light);
    padding: 100px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.contact-info-block h2 {
    color: var(--vulp-dark);
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-info-block h2 span {
    color: var(--vulp-gold-dark);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.channel-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--vulp-gold);
}

.channel-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--vulp-gold-dark);
}

.channel-details h4 {
    font-size: 1rem;
    color: var(--vulp-dark);
    margin-bottom: 2px;
}

.channel-details a, .channel-details p {
    font-size: 1.1rem;
    color: #4A5568;
}

.channel-details a:hover {
    color: var(--vulp-gold-dark);
}

.contact-maps-block {
    height: 400px;
    width: 100%;
}

.maps-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.maps-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ==========================================================================
   BOTÕES FLUTUANTES (UTILITÁRIOS)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background-color: var(--vulp-bg-dark);
    border: 1px solid rgba(213, 182, 153, 0.3);
    color: var(--vulp-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--vulp-gold);
    color: var(--vulp-dark);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--vulp-whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
}

/* ==========================================================================
   FOOTER INSTITUCIONAL (VULP)
   ========================================================================== */
.site-footer-vulp {
    background-color: var(--vulp-bg-dark);
    color: var(--vulp-gray);
    padding: 30px 20px;
    border-top: 1px solid rgba(213, 182, 153, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.site-footer-vulp p,
.site-footer-vulp span,
.site-footer-vulp a,
.site-footer-vulp div {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVIDADE COMPLETA
   ========================================================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-text h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .site-header-vulp {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background-color: var(--vulp-bg-dark) !important;
        position: relative; /* Evita quebra de sobreposição no mobile */
    }
    
    /* Desativa re-ajustes fixos agressivos do script na versão mobile */
    .site-header-vulp.scrolled {
        position: relative !important;
        padding: 20px 0 !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .nav-menu-vulp {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 0;
    }

    .nav-menu-vulp li {
        margin: 5px;
    }

    .nav-menu-vulp a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .vulp-main-logo {
        max-width: 200px;
    }

    .hero-content h1 {
        font-size: 1.15rem !important;
        line-height: 1.5;
        padding: 0 10px;
    }

    .pillars-horizontal-list {
        grid-template-columns: 1fr;
    }

    .contact-vulp {
        padding: 60px 15px;
    }

    .contact-info-block h2 {
        font-size: 1.8rem;
    }

    .channel-card {
        padding: 15px;
    }

    .contact-maps-block {
        height: 280px;
    }

    .site-footer-vulp {
        padding: 20px 15px;
    }

    .site-footer-vulp p,
    .site-footer-vulp span,
    .site-footer-vulp a {
        font-size: 0.8rem !important;
        line-height: 1.5;
    }
}