/* Frontend Public Styles */

:root {
    --primary-color: #556ee6;
    --secondary-color: #34c38f;
    --text-color: #495057;
    --text-muted: #6c757d;
}

/* Campo de taxa administrativa bloqueado */
#taxaAdmin:disabled {
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
    opacity: 1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Logo Styles */
.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-login {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Hero Section - já atualizado acima */

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    margin-top: 76px;
}

/* Product Section */
.product-section {
    scroll-margin-top: 100px;
}

.product-action {
    border-left: 2px solid #e9ecef;
    padding-left: 20px;
}

/* Simulation Form */
#simulacaoForm .form-select,
#simulacaoForm .form-control {
    border-radius: 8px;
}

.simulation-result-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Modal de Simulação */
.simulation-view .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.simulation-view .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hero Section com imagem de fundo */
.hero-section {
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(85, 110, 230, 0.9) 0%, rgba(52, 195, 143, 0.9) 100%),
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1973&q=80') center/cover;
    color: white;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section h1,
.hero-section p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Features Section com imagem de fundo */
.bg-light {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%),
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2011&q=80') center/cover !important;
    background-attachment: fixed;
}

/* Footer */
footer {
    margin-top: 50px;
    background: #212529 !important;
    padding: 3rem 0 1rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-4.0.3&auto=format&fit=crop&w=2029&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

footer > .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
    list-style: none;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #fff !important;
    text-decoration: none;
    transform: translateX(5px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem 0;
}

footer .text-center {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .product-action {
        border-left: none;
        border-top: 2px solid #e9ecef;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }
}
