/*
Theme Name: LFA Inventário v1.0
Theme URI: https://leandrofialho.adv.br
Author: Manus AI
Author URI: https://manus.im
Description: Tema WordPress de alta performance para Landing Page de Inventário e Partilha de Bens (Baseado no LFA Usucapião v5.3).
Version: 1.0
License: Proprietary
Text Domain: lfa-inventario
*/

/* O CSS principal está em assets/css/main.css */


/* 3. Controle de Tamanho da Logo (v1.4) */
.site-branding img,
.custom-logo-link img {
    width: auto !important; /* Garante que a largura se ajuste à altura */
    height: auto !important; /* Garante proporção */
    object-fit: contain;
}

.site-branding.logo-small img { max-height: 60px !important; }
.site-branding.logo-medium img { max-height: 80px !important; }
.site-branding.logo-large img { max-height: 100px !important; }
.site-branding.logo-original img { max-height: none !important; }

/* 4. Ajuste de Cor do Título Hero (v1.4) */
.hero-headline strong,
.hero-headline b,
.hero-headline span.highlight {
    color: #D4AF37; /* Dourado */
}


/* 5. Aumento Geral de Tipografia (v1.5) */
html { font-size: 17px; } /* Aumenta a base de 16px para 17px */

@media (min-width: 768px) {
    html { font-size: 18px; } /* Aumenta ainda mais em telas maiores */
}

/* Ajustes específicos para manter hierarquia */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
p { line-height: 1.6; }


/* 6. Ajustes de Layout Boxed (v1.6) */
.container {
    max-width: 1280px; /* Limita a largura máxima do conteúdo */
    margin-left: auto;
    margin-right: auto;
}

/* Garante que a logo não fique colada no topo */
.site-branding {
    margin-top: 10px;
}


/* 7. Botão WhatsApp Premium (v1.8) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

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

/* Animação de Pulso Suave */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* 8. Correção de Cores do Formulário (v2.8) */
.iti__selected-dial-code { color: #334155 !important; }
.iti__country-list { color: #334155 !important; }
#phone { color: #334155 !important; }
#form-message { font-weight: bold; padding: 10px; border-radius: 4px; }

/* 9. Depuração e Layout do Formulário (v2.9) */
/* Garante que o fundo do formulário respeite a opacidade definida inline */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
/* Força visibilidade do botão de submit */
#submit-btn {
    opacity: 1 !important;
    visibility: visible !important;
}

/* WhatsApp Pulse Animation Customizada */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    transform: scale(1);
  }
}

.whatsapp-pulse {
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-pulse:hover {
  animation: none; /* Para a animação ao passar o mouse */
}

/* --- FALLBACK STYLES FOR FORM & OVERLAY (INVENTÁRIO FIX) --- */

/* Garantir overlay escuro no Hero */
#hero .absolute.inset-0.bg-gradient-to-r {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%) !important;
}

/* Estilos do Formulário */
#hero-form input,
#hero-form select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem; /* pl-10 equivalent */
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    transition: all 0.2s;
}

#hero-form input:focus,
#hero-form select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 1px #D4AF37;
}

#hero-form button[type="submit"] {
    background-color: #1e293b;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

#hero-form button[type="submit"]:hover {
    background-color: #0f172a;
}

/* Ícones dentro dos inputs */
#hero-form .relative i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.75rem;
    color: #94a3b8;
    pointer-events: none;
}

/* Ajuste de tipografia para garantir legibilidade */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

body {
    font-family: 'Lato', sans-serif;
}

.text-accent {
    color: #D4AF37 !important;
}

.bg-accent {
    background-color: #D4AF37 !important;
}
