:root {
    --siphic-green: #303B3F;
    --siphic-brown: #928E73;
    --siphic-brown-dark: #303B3F;
    --siphic-gold: #928E73;
    --siphic-light: #ffffff;
    --siphic-dark: #1a1a1a;
    --siphic-gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--siphic-light);
    color: var(--siphic-dark);
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(224,224,224,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--siphic-green) !important;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--siphic-gold) !important;
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.navbar .nav-link {
    color: var(--siphic-green) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--siphic-gold) !important;
    background: rgba(201,161,59,0.1);
    transform: translateY(-1px);
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--siphic-gold), var--siphic-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    width: 80%;
}

.navbar .navbar-btn {
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.navbar .btn-primary {
    background:  var(--siphic-gold);
    border: none;
    color: #fff;
}

.navbar .btn-primary:hover {
    background:  #d4af37;
    box-shadow: 0 4px 15px rgba(201,161,59,0.3);
}

.navbar .btn-outline-primary {
    border: 2px solid var(--siphic-gold);
    color: var(--siphic-gold);
    background: transparent;
}

.navbar .btn-outline-primary:hover {
    background: var(--siphic-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,161,59,0.3);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23303B3F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Estilos para cards e componentes */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-title {
    color: var(--siphic-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: var(--siphic-gold);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: var(--siphic-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,161,59,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--siphic-gold);
    color: var(--siphic-gold);
    background: transparent;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: var(--siphic-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201,161,59,0.3);
}

.btn, 
.form-control, 
.form-select {
    border-radius: 6px !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: none;
}

.btn-primary {
    background: var(--siphic-green);
    border: 1px solid var(--siphic-green);
    font-weight: 600;
    letter-spacing: 0;
}

.btn-primary:hover, 
.btn-primary:focus {
    background: var(--siphic-gold);
    border-color: var(--siphic-gold);
    color: #fff;
}

.btn-outline-primary {
    color: var(--siphic-green);
    border-color: var(--siphic-green);
    font-weight: 600;
    background: transparent;
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus {
    background: var(--siphic-green);
    color: #fff;
    border-color: var(--siphic-green);
}

.navbar-btn.btn-primary {
    background: var(--siphic-gold);
    border: 1px solid var(--siphic-gold);
    color: #fff;
}

.navbar-btn.btn-outline-primary {
    border-color: var(--siphic-gold);
    color: var(--siphic-gold);
}

.navbar-btn.btn-outline-primary:hover {
    background: var(--siphic-gold);
    color: #fff;
}

.card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.card-title {
    color: var(--siphic-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.carousel-caption {
    background: rgba(0,0,0,0.7) !important;
    border: none;
    border-radius: 8px;
}

/* .badge.bg-success {
    background: var(--siphic-green) !important;
} */

.badge.bg-warning {
    background: var(--siphic-gold) !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background: var(--siphic-brown) !important;
}

section {
    border-radius: 0;
    margin-bottom: 0;
}

.bg-primary {
    background: var(--siphic-green) !important;
}

.text-primary {
    color: var(--siphic-green) !important;
}

.footer, 
footer {
    background: linear-gradient(135deg, var(--siphic-green) 0%, var(--siphic-brown-dark) 100%) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--siphic-gold), #d4af37, var(--siphic-gold));
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="40" cy="80" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="60" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    opacity: 0.3;
}

footer h5 {
    color: var(--siphic-gold) !important;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--siphic-gold), #d4af37);
    border-radius: 2px;
}

footer .lead-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

footer a {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--siphic-gold) !important;
    transform: translateX(3px);
}

footer p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

footer .contact-info {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

footer .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

footer .contact-item:last-child {
    margin-bottom: 0;
}

footer .contact-icon {
    width: 45px;
    height: 45px;
    background: var(--siphic-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(201,161,59,0.3);
}

footer .newsletter-form {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

footer .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

footer .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--siphic-gold);
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.25);
    color: #fff;
}

footer .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

footer .btn-subscribe {
    background: var(--siphic-gold);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

footer .btn-subscribe:hover {
    background: linear-gradient(135deg, #d4af37, var(--siphic-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,161,59,0.4);
}

footer hr {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 3rem 0 2rem 0;
}

footer .copyright-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.2);
    margin: 2rem -15px -15px -15px;
    padding: 2rem 15px 1.5rem 15px;
    border-radius: 0;
}

footer .footer-legal-links a {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
}

.social-links a:hover {
    background: var(--siphic-gold);
    color: #fff !important;
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(201,161,59,0.4);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--siphic-gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    background: var(--siphic-gold);
    color: #fff !important;
    transform: translateY(-2px);
}

h2, 
h5, 
.fw-bold {
    color: var(--siphic-green);
    font-weight: 600;
}

hr {
    border-top: 1px solid #e0e0e0;
}

.form-control, 
.form-select {
    border: 1px solid #e0e0e0;
    background: #fff;
}

.form-control:focus, 
.form-select:focus {
    border-color: var(--siphic-gold);
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.15);
}

.newsletter input[type=email] {
    border-radius: 6px 0 0 6px !important;
}

.newsletter button {
    border-radius: 0 6px 6px 0 !important;
}

.flat-bg {
    background: var(--siphic-gray) !important;
}

/* Seções e layout */
.section {
    padding: 4rem 0;
}

.section-title {
    color: var(--siphic-green);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Carrossel */
.carousel-item {
    height: 400px;
    background: linear-gradient(135deg, var(--siphic-green), var(--siphic-brown-dark));
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.carousel-caption {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
}

.carousel-caption h5 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.2);
}

.carousel-indicators {
    bottom: 1rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--siphic-gold);
    border-color: var(--siphic-gold);
}

/* Seção institucional */
.institutional-section {
    background: linear-gradient(135deg, var(--siphic-gray), #f8f9fa);
    padding: 5rem 0;
    position: relative;
}

.institutional-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(48,59,63,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.institutional-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(224,224,224,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.institutional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.institutional-icon {
    width: 80px;
    height: 80px;
    background: var(--siphic-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(201,161,59,0.3);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Formulários */
.form-control:focus {
    border-color: var(--siphic-gold);
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.15);
}

.form-select:focus {
    border-color: var(--siphic-gold);
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.15);
}

/* Badges e tags */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.badge-primary {
    background: var(--siphic-gold);
    color: #fff;
}

.badge-secondary {
    background: var(--siphic-gray);
    color: var(--siphic-dark);
}

/* Formulário de Busca de Eventos */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="search-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(48,59,63,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23search-pattern)"/></svg>');
    opacity: 0.5;
}

.search-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(224,224,224,0.3);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.search-title {
    color: var(--siphic-green);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.search-form-container {
    margin-bottom: 2rem;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-field {
    position: relative;
}

.search-field .form-label {
    color: var(--siphic-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.search-field .form-label i {
    color: var(--siphic-gold);
    font-size: 1rem;
}

.search-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.search-input:focus {
    border-color: var(--siphic-gold);
    box-shadow: 0 0 0 0.2rem rgba(201,161,59,0.15);
    transform: translateY(-1px);
}

.search-input:hover {
    border-color: var(--siphic-gold);
}

.search-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-btn {
    background: var(--siphic-gold);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201,161,59,0.2);
}

.search-btn:hover {
    background: linear-gradient(135deg, #d4af37, var(--siphic-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,161,59,0.3);
}

.search-actions .btn-outline-secondary {
    border: 2px solid #dee2e6;
    color: #6c757d;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-actions .btn-outline-secondary:hover {
    border-color: var(--siphic-gold);
    color: var(--siphic-gold);
    background: rgba(201,161,59,0.05);
    transform: translateY(-1px);
}

.advanced-filters {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-header h5 {
    color: var(--siphic-green);
    font-weight: 600;
    margin-bottom: 0;
}

.results-count {
    color: #6c757d;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--siphic-gold);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--siphic-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover::before {
    opacity: 1;
}

.result-title {
    color: var(--siphic-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.result-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.result-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.search-suggestions {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-caption h5 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .institutional-card {
        padding: 2rem;
    }
    
    .institutional-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .search-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-actions .btn {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .results-container {
        grid-template-columns: 1fr;
    }
}

/* Estados especiais */
.search-field.has-error .search-input {
    border-color: #dc3545;
}

.search-field.has-error .form-label {
    color: #dc3545;
}

.search-field.has-success .search-input {
    border-color: #28a745;
}

.search-field.has-success .form-label {
    color: #28a745;
}

.search-input:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Animações de loading */
.search-btn.loading {
    position: relative;
    color: transparent;
}

.search-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
