/* SPCC 2025 - Certificados - Estilos baseados no site principal */
:root { --primary-color: #B7332E; --secondary-color: #C2393E; --accent-color: #dbdbdb; --text-color: #222222; --light-bg: #dbdbdb; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--light-bg); scroll-behavior: smooth; }
header { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; padding: 2rem 1rem; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.logo { font-size: 2.5rem; font-weight: bold; margin-bottom: 1rem; }
.logo img { max-width: 100%; height: auto; }
.tagline { font-size: 1.8rem; font-style: italic; margin-bottom: 1.5rem; text-align: center; color: white; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); }
.date-location { background-color: var(--accent-color); color: var(--secondary-color); font-weight: bold; padding: 1rem 1.5rem; border-radius: 8px; display: inline-block; margin: 1.5rem 0; font-size: 1.2rem; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
.highlight-box { background-color: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 1.5rem; margin: 1.5rem 0; }
h1, h2, h3 { color: var(--primary-color); margin-bottom: 1rem; }
.nav-menu { background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 1.5rem; margin: 1.5rem 0; text-align: center; }
.nav-menu h2 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 2rem; font-weight: bold; text-shadow: 1px 1px 2px rgba(183, 51, 46, 0.1); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.nav-link { display: inline-block; padding: 1rem 2rem; background: linear-gradient(135deg, #ffffff, #f8f9fa); color: var(--primary-color); text-decoration: none; border-radius: 8px; transition: all 0.3s ease; font-weight: 600; border: 2px solid rgba(183, 51, 46, 0.2); box-shadow: 0 2px 8px rgba(183, 51, 46, 0.1); position: relative; overflow: hidden; }
.nav-link::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(183, 51, 46, 0.1), transparent); transition: left 0.5s ease; }
.nav-link:hover::before { left: 100%; }
.nav-link:hover { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(183, 51, 46, 0.4); border-color: var(--secondary-color); }
.nav-link-special { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important; color: white !important; font-weight: bold; box-shadow: 0 4px 12px rgba(183, 51, 46, 0.4); animation: certificatesPulse 3s ease-in-out infinite; border: 2px solid var(--secondary-color); position: relative; overflow: hidden; }
.nav-link-special::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 ease; }
.nav-link-special:hover::before { left: 100%; }
.nav-link-special:hover { background: linear-gradient(135deg, var(--secondary-color), #a32e2f) !important; transform: translateY(-4px); box-shadow: 0 8px 25px rgba(183, 51, 46, 0.5); border-color: var(--secondary-color); }
@keyframes certificatesPulse { 0%, 100% { box-shadow: 0 4px 12px rgba(183, 51, 46, 0.4); } 50% { box-shadow: 0 6px 20px rgba(183, 51, 46, 0.6); } }
.certificados-section { background: white; margin: 2rem 0; padding: 2rem; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.certificados-header { text-align: center; margin-bottom: 2rem; }
.certificados-header h1 { color: var(--primary-color); margin-bottom: 1rem; font-size: 2.2rem; }
.certificados-header p { font-size: 1.1rem; color: var(--text-color); margin-bottom: 1rem; }
.search-container { background: var(--light-bg); padding: 2rem; border-radius: 10px; margin-bottom: 2rem; }
.search-box { display: flex; gap: 1rem; max-width: 600px; margin: 0 auto; }
.filter-container { background: white; padding: 1.5rem; border-radius: 10px; margin-bottom: 2rem; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.filter-container h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.3rem; }
.filter-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.filter-btn { background: linear-gradient(135deg, #ffffff, #f8f9fa); color: var(--primary-color); border: 2px solid rgba(183, 51, 46, 0.2); padding: 0.8rem 1.5rem; border-radius: 25px; cursor: pointer; transition: all 0.3s ease; font-weight: 600; }
.filter-btn:hover { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(183, 51, 46, 0.3); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; border-color: var(--secondary-color); box-shadow: 0 4px 12px rgba(183, 51, 46, 0.4); }
#searchInput { flex: 1; padding: 1rem 1.5rem; font-size: 1.1rem; border: 2px solid #ddd; border-radius: 25px; outline: none; transition: all 0.3s ease; }
#searchInput:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(183, 51, 46, 0.1); }
.search-btn { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; border: none; padding: 1rem 2rem; border-radius: 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.certificates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.certificate-card { background: white; border: 2px solid var(--light-bg); border-radius: 15px; padding: 2rem; text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.certificate-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); border-color: var(--primary-color); }
.cert-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--primary-color); }
.certificate-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.3rem; }
.cert-info { color: #666; margin-bottom: 1.5rem; font-style: italic; }
.btn-primary { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; text-decoration: none; padding: 1rem 2rem; border-radius: 25px; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-color); }
.no-results-content { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 500px; margin: 0 auto; }
.no-results h3 { color: var(--primary-color); margin-bottom: 1rem; }
.no-results ul { text-align: left; margin-top: 1rem; }
.no-results li { margin: 0.5rem 0; }
.back-to-top { position: fixed; bottom: 20px; right: 20px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; border: none; padding: 15px 20px; border-radius: 50%; font-size: 1.5rem; font-weight: bold; cursor: pointer; box-shadow: 0 4px 12px rgba(183, 51, 46, 0.4); transition: all 0.3s ease; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(100px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: linear-gradient(135deg, var(--secondary-color), #a32e2f); transform: translateY(-5px); box-shadow: 0 8px 25px rgba(183, 51, 46, 0.5); }
footer { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; text-align: center; padding: 2rem 1rem; margin-top: 3rem; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-info p { margin: 0.5rem 0; }
.contact-info { margin: 1rem 0; }
.contact-info a { color: white; text-decoration: none; font-weight: 600; }
.contact-info a:hover { text-decoration: underline; }
.footer-links { margin-top: 1.5rem; }
.footer-link { color: white; text-decoration: none; font-weight: 600; padding: 0.5rem 1rem; border-radius: 5px; transition: all 0.3s ease; }
.footer-link:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
@media (max-width: 768px) { header { padding: 1.5rem 1rem; } .logo { font-size: 2rem; } .tagline { font-size: 1.5rem; margin-bottom: 1rem; } .date-location { font-size: 1rem; padding: 0.8rem 1rem; margin: 1rem 0; } .certificates-grid { grid-template-columns: 1fr; gap: 1rem; } .search-box { flex-direction: column; } .nav-links { flex-direction: column; gap: 0.5rem; } .nav-link { padding: 0.8rem 1.5rem; } }
@media (max-width: 480px) { .date-location { font-size: 0.9rem; padding: 0.6rem 0.8rem; } .tagline { font-size: 1.2rem; } .certificados-header h1 { font-size: 1.8rem; } .certificate-card { padding: 1.5rem; } .nav-link { padding: 0.7rem 1.2rem; font-size: 0.9rem; } .back-to-top { bottom: 15px; right: 15px; padding: 12px 16px; font-size: 1.2rem; } }
