/* =====================================================
   SS Temporários - Estilos Customizados
   ===================================================== */

:root {
    --primary-red: #DC3545;
    --dark-red: #B02A37;
    --dark-bg: #1A1A1A;
    --darker-bg: #121212;
    --text-light: #F8F9FA;
    --text-muted: #6C757D;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    background-color: #000 !important;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: 600;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop navbar - horizontal */
@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .offcanvas {
        position: static !important;
        flex-grow: 0;
        width: auto !important;
        background: transparent !important;
        border: none !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .offcanvas-header {
        display: none;
    }
    
    .offcanvas-body {
        padding: 0;
        flex-grow: 0;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

/* Mobile offcanvas */
@media (max-width: 991.98px) {
    .offcanvas {
        max-width: 280px;
    }
    
    .offcanvas .nav-link {
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s backwards;
    border-radius: 50px;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Section Titles
   ===================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

/* =====================================================
   About Section
   ===================================================== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-red);
    border-radius: 1rem;
    z-index: -1;
}

.about-image-wrapper img {
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

/* =====================================================
   Services Section
   ===================================================== */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =====================================================
   Areas Section
   ===================================================== */
.area-card {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.area-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.area-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.area-icon i {
    font-size: 1.25rem;
    color: var(--primary-red);
}

.area-card span {
    font-weight: 500;
    color: #333;
}

/* =====================================================
   Vagas Section
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.empty-icon i {
    opacity: 0.5;
}

.vaga-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.vaga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vaga-header {
    margin-bottom: 1rem;
}

.vaga-titulo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.vaga-local {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vaga-descricao {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.vaga-footer {
    margin-top: 1.5rem;
}

/* Modal de Vaga */
.vaga-details {
    padding: 1rem 0;
}

.vaga-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.vaga-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vaga-section h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.vaga-section p {
    color: var(--text-muted);
    margin-bottom: 0;
    white-space: pre-line;
}

/* =====================================================
   Contact Section
   ===================================================== */
#contato {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-red);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary-red);
}

.contact-info-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1rem;
}

.contact-form-wrapper .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-wrapper .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
    color: white;
}

.contact-form-wrapper .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* =====================================================
   Footer
   ===================================================== */
footer {
    background: #000 !important;
}

footer a {
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    opacity: 0.8;
}

/* =====================================================
   WhatsApp Float
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: white;
}

/* =====================================================
   Modal Styles
   ===================================================== */
.modal-content {
    border: none;
    border-radius: 1rem;
}

.modal-header {
    padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 0.5rem 1.5rem 1.5rem;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-danger {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transition: var(--transition);
}

.btn-danger:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-image-wrapper::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 550px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* =====================================================
   Loading Animation
   ===================================================== */
.loading {
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   Toast Customization
   ===================================================== */
.toast {
    border-radius: 0.5rem;
}

/* =====================================================
   Form Validation States
   ===================================================== */
.form-control.is-invalid {
    border-color: var(--primary-red);
}

.form-control.is-valid {
    border-color: #198754;
}

/* =====================================================
   Animations
   ===================================================== */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
