/* ============================================
    VISAO - Veículos Inteligentes e Sistemas Autônomos Otimizados
   CSS Moderno e Responsivo
   ============================================ */

/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary-color: #003d7a;       /* Azul Escuro */
    --secondary-color: #0066cc;     /* Azul Claro */
    --accent-color: #28a745;        /* Verde Tecnológico */
    --light-bg: #f8f9fa;            /* Cinza Muito Claro */
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 61, 122, 0.1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===== RESET E CONFIGURAÇÕES GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVBAR STICKY ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-logo {
    height: 42px;
    width: auto;
    margin-right: 0.5rem;
}

.navbar-custom .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover:after {
    width: 80%;
}

.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#canvasBackground {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

/* Animação entrada Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-logo {
    width: min(240px, 72vw);
    margin: 0 auto 1rem;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-logo-wrap {
    padding-top: 0.5rem;
}

.about-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-content h2 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botões Customizados */
.btn-custom {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.3);
}

.btn-outline-primary.btn-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary.btn-custom:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== SEÇÕES GERAIS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Seção Sobre */
.section-sobre {
    background: var(--white);
    padding: 6rem 0;
}

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 61, 122, 0.05);
    transition: var(--transition);
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.1);
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(40, 167, 69, 0.05));
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(40, 167, 69, 0.1));
    box-shadow: var(--shadow-sm);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== LINHAS DE PESQUISA ===== */
.section-linhas {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

/* Cards de Pesquisa */
.card-research {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-research:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card-research-1 {
    border-top: 5px solid #003d7a;
}

.card-research-2 {
    border-top: 5px solid #0066cc;
}

.card-research-3 {
    border-top: 5px solid #28a745;
}

.card-header-custom {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.1), rgba(0, 102, 204, 0.1));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header-custom i {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-header-custom h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.card-body-custom {
    padding: 1.5rem;
    flex-grow: 1;
}

.tech-list {
    list-style: none;
    margin: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.tech-list li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.tech-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== ÁREAS TECNOLÓGICAS ===== */
.section-areas {
    background: var(--white);
    padding: 6rem 0;
}

.tech-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.tech-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

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

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.tech-icon-1 { background: linear-gradient(135deg, #003d7a, #0066cc); color: white; }
.tech-icon-2 { background: linear-gradient(135deg, #28a745, #20c997); color: white; }
.tech-icon-3 { background: linear-gradient(135deg, #fd7e14, #ffc107); color: white; }
.tech-icon-4 { background: linear-gradient(135deg, #6f42c1, #7952b3); color: white; }
.tech-icon-5 { background: linear-gradient(135deg, #e83e8c, #fd7e14); color: white; }
.tech-icon-6 { background: linear-gradient(135deg, #20c997, #17a2b8); color: white; }
.tech-icon-7 { background: linear-gradient(135deg, #0066cc, #003d7a); color: white; }
.tech-icon-8 { background: linear-gradient(135deg, #ffc107, #fd7e14); color: white; }

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotateZ(-10deg);
}

.tech-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PROJETOS ===== */
.section-projetos {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.project-card:hover .placeholder-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-custom-small {
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* ===== EQUIPE ===== */
.section-equipe {
    background: var(--white);
    padding: 6rem 0;
}

.team-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 249, 250, 0.8));
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary-color);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team-card-small {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 249, 250, 0.8));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.team-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary-color);
}

.team-image-small {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Partners Section */
.partners-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-item {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(40, 167, 69, 0.1));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== PUBLICAÇÕES ===== */
.section-publicacoes {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

.publication-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.publication-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.pub-indicator {
    min-width: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-top: 0.5rem;
}

.pub-indicator-success {
    background: var(--accent-color);
}

.pub-indicator-info {
    background: #17a2b8;
}

.publication-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.publication-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== CONTATO ===== */
.section-contato {
    background: var(--white);
    padding: 6rem 0;
}

.contact-info-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(40, 167, 69, 0.05));
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.contact-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Formulário de Contato */
.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 249, 250, 0.8));
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-control-custom {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control-custom:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.form-label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 61, 122, 0.3);
}

/* Mapa */
.map-embed {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-top: 2rem;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: var(--white);
    margin-top: 0;
}

.footer h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-copyright a:hover {
    text-decoration: underline;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.3);
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets (768px) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-logo {
        width: min(190px, 78vw);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .section-title:after {
        width: 50px;
    }
    
    .tech-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Celulares (480px) */
@media (max-width: 480px) {
    .navbar-custom .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-custom .nav-link {
        margin: 0;
        padding: 0.5rem 0.8rem !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: min(160px, 82vw);
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-sobre,
    .section-linhas,
    .section-areas,
    .section-projetos,
    .section-equipe,
    .section-publicacoes,
    .section-contato {
        padding: 3rem 0;
    }
    
    .row {
        margin: -0.5rem;
    }
    
    .col-md-6,
    .col-md-4,
    .col-lg-4,
    .col-lg-5,
    .col-lg-7 {
        padding: 0.5rem;
    }
    
    .feature-box,
    .card-research,
    .tech-card,
    .project-card {
        margin-bottom: 1rem;
    }
    
    .team-card,
    .contact-info-box {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .publication-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .partners-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .map-embed {
        height: 240px;
    }
}

/* ===== ANIMAÇÕES ON-SCROLL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    transform: scale(0.9);
    opacity: 0;
    transition: var(--transition);
}

.scale-in.active {
    transform: scale(1);
    opacity: 1;
}

/* ===== UTILITÁRIOS ===== */
.text-justify {
    text-align: justify;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Dark Mode (Opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a1a;
        --white: #2d2d2d;
        --text-dark: #f5f5f5;
        --text-muted: #a0a0a0;
        --border-light: #404040;
    }
    
    .navbar-custom {
        background: rgba(45, 45, 45, 0.95);
        border-bottom-color: #404040;
    }
    
    .section-sobre,
    .section-equipe,
    .section-contato,
    .footer {
        background-color: #2d2d2d;
    }
}

/* ===== LOADING ANIMATION ===== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
}
