/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #001f3f;
    --dark-navy: #001529;
    --light-navy: #003366;
    --yellow: #FFD700;
    --dark-yellow: #FFC700;
    --light-yellow: #FFE44D;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #666666;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navy-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}


#header.scrolled {
    background: var(--dark-navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo span {
    font-size: 0.9rem;
    color: var(--white);
    max-width: 200px;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--yellow);
}

.nav-link:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--yellow);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 215, 0, 0.03) 50px,
            rgba(255, 215, 0, 0.03) 51px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(255, 215, 0, 0.03) 50px,
            rgba(255, 215, 0, 0.03) 51px
        );
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--yellow);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--yellow);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Botões */
.btn {
    display: inline-block;
    padding: 15px 40px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--yellow);
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: var(--dark-yellow);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Seções */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-weight: bold;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--yellow);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Sobre Nós */
.sobre {
    background: var(--white);
}

.sobre-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 25px;
    font-weight: 500;
}

.sobre-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.valor-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent;
}

.valor-item:hover {
    transform: translateY(-10px);
    border-color: var(--yellow);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.1);
}

.valor-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.valor-item h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.valor-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Serviços */
.servicos {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 100%);
    color: var(--white);
}

.servicos .section-title {
    color: var(--yellow);
}

.servicos .section-subtitle {
    color: var(--light-gray);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.servico-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-10px);
    border-color: var(--yellow);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.servico-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.servico-card h3 {
    color: var(--yellow);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.servico-card p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.servico-list {
    list-style: none;
    padding: 0;
}

.servico-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--white);
}

.servico-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contato */
.contato {
    background: var(--light-gray);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contato-info h3 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contato-info p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--yellow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--navy-blue);
}

.info-item h4 {
    color: var(--navy-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--gray);
    margin: 0;
}

.contato-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 31, 63, 0.1);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--yellow);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    border-top: 20px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* Estilos para o Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0,0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none; /* Pausa a animação no hover para uma melhor experiência */
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
    fill: white;
}

/* Animação Pulsante */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animação Pulsante para Vagas */
.nav-link-vagas {
    color: var(--yellow) !important;
    font-weight: bold !important;
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
    0% {
        text-shadow: 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
        background: transparent;
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.5);
        transform: scale(1.2);
        background: rgba(255, 215, 0, 0.2);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
        background: transparent;
    }
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}


/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--navy-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .logo span {
        display: none;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .valores {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contato-form-wrapper {
        padding: 25px;
    }
}