/* Site CSS - Arquivo externo seguindo padrão MVC */

:root {
    --primary-color: #2d4c63;
    --secondary-color: #1a2c3d;
    --accent-color: #ffc107;
    --silver-color: #c0c0c0;
    --gold-color: #ffd700;
    --diamond-color: #b9f2ff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --custom-green: #2ba304;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Suavização e melhorias visuais */
.section-transition {
    transition: all 0.5s ease-in-out;
}

.section-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradientes suaves para seções */
.section-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    position: relative;
}

.section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.03) 0%, rgba(147, 197, 253, 0.02) 100%);
    pointer-events: none;
}

.section-gradient-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
}

.section-gradient-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.03) 0%, rgba(52, 211, 153, 0.02) 100%);
    pointer-events: none;
}

/* Efeitos de borda suaves */
.soft-border {
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Sombras suaves */
.soft-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.soft-shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Melhorias adicionais para suavização */
.section-spacing {
    margin: 2rem 0;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Gradientes mais suaves */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.95) 0%, rgba(10, 58, 98, 0.95) 100%);
}

/* Efeitos de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Elementos decorativos para profundidade */
.section-decoration {
    position: relative;
    overflow: hidden;
}

.section-decoration::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-decoration-alt::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

/* Cards com mais profundidade */
.depth-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.depth-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Títulos com gradiente */
.gradient-title {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animações */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Estilos do Rodapé */
footer {
    background: linear-gradient(135deg, #0A3A62, #0F4C81) !important;
}

footer .flex {
    min-height: 80px;
    align-items: flex-end;
}

footer h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

footer p {
    color: #CBD5E1;
    line-height: 1.5;
}

@media (max-width: 768px) {
    footer .flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }
    
    footer .text-center.md\\:text-left {
        text-align: center !important;
    }
    
    footer .text-center.md\\:text-right {
        text-align: center !important;
    }
}

.animate-pulse-button {
    animation: pulse 2s infinite;
}

.animate-pulse-button:hover {
    animation: none;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Estilo para o logo grande */
.large-logo {
    width: auto !important;
    height: 120px !important;
    max-width: 280px !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 50 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    filter: none !important;
    transition: all 0.3s ease !important;
}

.large-logo:hover {
    transform: scale(1.03) !important;
}

@media (max-width: 768px) {
    .large-logo {
        height: 90px !important;
        max-width: 220px !important;
    }
}

/* Garantir que os botões fiquem sempre visíveis */
.flex.flex-col.sm\\:flex-row {
    opacity: 1 !important;
    visibility: visible !important;
}

.flex.flex-col.sm\\:flex-row a,
.flex.flex-col.sm\\:flex-row button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ajustes para a imagem de fundo */
.fundo-topo {
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
}

/* Classes específicas do site - sobrescrevem qualquer conflito */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    margin-bottom: 40px;
}

.site-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.site-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.site-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.site-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.site-btn-primary {
    background: #22c55e;
    color: white;
}

.site-btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.site-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.site-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.site-btn-blue {
    background: #3b82f6;
    color: white;
}

.site-btn-blue:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.site-btn-orange {
    background: #f97316;
    color: white;
}

.site-btn-orange:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.site-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.site-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.site-feature i {
    color: #ffc107;
}

.text-accent {
    color: var(--accent-color);
}

/* Animações para FAQ */
.rotate-180 {
    transform: rotate(180deg);
}

/* Hover effects para cards de advogados */
.bg-gray-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Transições suaves */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Melhorias visuais adicionadas */
.animate-pulse-green {
    animation: pulse-green 2s infinite;
}

.animate-pulse-blue {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Estilo para os cards de recursos */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

.feature-icon {
    color: #2ba304;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    
    .site-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .site-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .site-features {
        flex-direction: column;
        align-items: center;
    }
    
    .fundo-topo {
        background-position: center !important;
    }
}

/* CSS específico para mobile - substitui o inline do PHP */
@media (max-width: 768px) {
    .fundo-topo {
        background-image: var(--bg-mobile) !important;
        background-position: center !important;
    }
}

/* Ajustes específicos para os botões da página inicial */
.flex.flex-col.sm\\:flex-row a,
.flex.flex-col.sm\\:flex-row button {
    padding: 8px 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    min-height: auto !important;
    max-width: 200px !important;
    width: auto !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: inline-flex !important;
    margin: 4px !important;
}

.flex.flex-col.sm\\:flex-row a i,
.flex.flex-col.sm\\:flex-row button i {
    font-size: 18px !important;
    margin-right: 8px !important;
}

/* Responsividade para os botões */
@media (max-width: 768px) {
    .flex.flex-col.sm\\:flex-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .flex.flex-col.sm\\:flex-row a,
    .flex.flex-col.sm\\:flex-row button {
        padding: 12px 24px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 300px !important;
        min-width: 280px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .flex.flex-col.sm\\:flex-row a i,
    .flex.flex-col.sm\\:flex-row button i {
        font-size: 16px !important;
        margin-right: 8px !important;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .flex.flex-col.sm\\:flex-row a,
    .flex.flex-col.sm\\:flex-row button {
        padding: 10px 20px !important;
        font-size: 13px !important;
        max-width: 280px !important;
        min-width: 260px !important;
    }
    
    .flex.flex-col.sm\\:flex-row a i,
    .flex.flex-col.sm\\:flex-row button i {
        font-size: 14px !important;
        margin-right: 6px !important;
    }
}

/* Estilos para cards de contato clicáveis */
.contact-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 240px; /* Altura fixa para todos os cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Container dos cards para garantir tamanho uniforme */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch; /* Força todos os cards a terem a mesma altura */
}

.contact-cards-container .group {
    height: 100%;
    display: flex;
}

.contact-cards-container .group a {
    width: 100%;
    height: 100%;
    display: flex;
}

.contact-cards-container .group form {
    width: 100%;
    height: 100%;
    display: flex;
}

.contact-cards-container .group button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsividade para mobile */
@media (max-width: 1024px) {
    .contact-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .contact-card {
        height: 200px; /* Altura menor no mobile */
    }
}

/* Indicador de clique para cards de contato */
.contact-card .click-indicator {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-card:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Animação de pulso para indicar interatividade */
@keyframes contact-pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.contact-card.phone-card:hover {
    animation: contact-pulse 2s infinite;
}

@keyframes email-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.contact-card.email-card:hover {
    animation: email-pulse 2s infinite;
}

@keyframes address-pulse {
    0% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(147, 51, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0); }
}

.contact-card.address-card:hover {
    animation: address-pulse 2s infinite;
}

@keyframes form-pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.contact-card.form-card:hover {
    animation: form-pulse 2s infinite;
}
