:root {
    --primary-color: #28292b;
    --secondary-color: #37558f;
    --accent-color: #3a393a;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
}

.ata-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
}

.esfera-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.esfera-badge.Federal {
    background:rgba(var(--bs-danger-rgb));
}

.esfera-badge.Municipal {
    background:rgba(var(--bs-info-rgb));
}

.esfera-badge.Estadual {
    background:rgba(var(--bs-warning-rgb));
}


.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.btn-aderir {
    margin-top: auto;
}

.product-grid{
    border: solid 1px #37558f99;
    border-radius: 0 0 18px 18px;
}

.offcanvas-body{
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.offcanvas-body .nav-item.mt-3{
    width: 30px !important;
}
    
    
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-gray);
        }
        

        
        .product-container {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            margin: 2rem 0;
        }
        
        .ata-info-banner {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 1rem 2rem;
        }
        
        .ata-info-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .ata-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
        }
        
        .ata-details {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        
        .ata-detail {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        

        
        .product-gallery {
            position: relative;
        }
        
        .main-image {
            height: 400px;
            background-size: cover;
            background-position: center;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .main-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .thumbnail-container {
            padding: 1rem;
            background: #f8f9fa;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            border: 2px solid transparent;
            border-radius: 8px;
            cursor: pointer;
            object-fit: cover;
            transition: all 0.3s ease;
        }
        
        .thumbnail:hover, .thumbnail.active {
            border-color: var(--accent-color);
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 2rem;
        }
        
        .product-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .product-code {
            color: var(--dark-gray);
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
        
        .product-category, .product-brand {
            display: inline-block;
            background: var(--accent-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            margin: 0.25rem;
        }
        
        .product-description {
            margin: 1.5rem 0;
            line-height: 1.6;
            color: var(--dark-gray);
        }
        
        .btn-aderir {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 1rem;
        }
        
        .btn-aderir:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(40, 41, 43, 0.3);
        }
        
        .breadcrumb {
            background: transparent;
            padding: 1rem 0;
        }
        
        .breadcrumb-item a {
            color: var(--accent-color);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--dark-gray);
        }
        
        .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .modal-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border-radius: 15px 15px 0 0;
        }
        
        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(58, 57, 58, 0.25);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            border-radius: 25px;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            transform: translateY(-1px);
        }

        .navbar {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        @media (min-width: 992px) {
            .navbar {
                height: 60px;
                padding: 0;
            }
            .navbar-brand {
            margin-top: 39px ;
            }            
        }

        @media (max-width: 991px) {  
            .navbar{
                height: 80px !important;
            }      
            .navbar-brand {
                margin-top: 0px !important;
                margin-left: calc(50% - 80px);
            }   
            
            .navbar-toggler{
                margin-top: -20px !important;
            }
        }
        
        .navbar-brand {
            background-color: white;
            border-radius: 0 0 10px 10px;
            width: 160px;
            height: 100px;
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
        }

        .navbar-brand > img {
            width: 100%;
            height: auto;
        }


        .cromado {
            padding: 0px;
            position: relative;
        }

        .cromado::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 4px; /* espessura da borda */
            background: linear-gradient(to right, #e0e0e0, #ffffff, #e0e0e0);
            box-shadow: 0 4px 0 linear-gradient(to right, #ccc, #fff, #ccc);
        }

        /* Estilos para anexos PDF */
        .anexos-section {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        .anexos-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .anexo-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: white;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            text-decoration: none;
            color: var(--dark-gray);
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }

        .anexo-item:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            text-decoration: none;
        }

        .anexo-item:hover .anexo-icon {
            color: white;
        }

        .anexo-icon {
            font-size: 1.5rem;
            color: #dc3545;
            flex-shrink: 0;
        }

        .anexo-content {
            flex: 1;
            min-width: 0;
        }

        .anexo-titulo {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
            line-height: 1.2;
        }

        .anexo-nome {
            font-size: 0.8rem;
            color: #6c757d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .anexo-item:hover .anexo-nome {
            color: rgba(255,255,255,0.8);
        }

        .download-icon {
            color: #28a745;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .anexo-item:hover .download-icon {
            color: white;
        }

        .no-anexos {
            text-align: center;
            color: #6c757d;
            font-style: italic;
            padding: 1rem;
        }        
        .valor-destaque {
            font-size: 1.25rem;
            color: #28a745;
            font-weight: bold;
            margin-bottom: 0.5rem;
            display: block;
        }
        .frase-unidade {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: -0.5rem;
            margin-bottom: 0.5rem;
        }
    
        .circle-badge {
            top: 10px !important;
        }