/* Variáveis de Cores */
:root {
    --azul-marinho: #0a2342;
    --azul-marinho-claro: #1a3a5c;
    --azul-marinho-escuro: #051829;
    --dourado: #d4af37;
    --dourado-claro: #e6c547;
    --dourado-escuro: #b8941f;
    --branco: #ffffff;
    --cinza-claro: #f8f9fa;
    --cinza-medio: #e9ecef;
    --cinza-escuro: #495057;
    --texto-claro: #6c757d;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--azul-marinho);
    background-color: var(--branco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--azul-marinho);
    letter-spacing: -1px;
}

.logo-data-flow {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.logo-data-flow i {
    color: var(--dourado);
    font-size: 0.9rem;
    opacity: 0.8;
}

.logo-full {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-marinho);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--azul-marinho);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--dourado);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--azul-marinho);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 180px 20px 120px; /* Mais espaço no topo e no fundo */
    background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.7)),
                url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--branco);
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto; /* Centraliza o conteúdo perfeitamente sem usar flexbox */
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gold-text {
    color: var(--dourado);
    font-weight: 800;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--cinza-claro);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--dourado);
    color: var(--azul-marinho);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background-color: var(--dourado-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Seções Genéricas */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-marinho);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--dourado);
}

/* Quem Somos */
.quem-somos {
    background-color: var(--branco);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cinza-escuro);
}

/* Serviços Principais */
.servicos-principais {
    background-color: var(--cinza-claro);
}

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

.service-card {
    background-color: var(--branco);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--dourado);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-marinho);
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: var(--cinza-escuro);
    line-height: 1.7;
    text-align: center;
    flex-grow: 1;
}

/* Outras Soluções */
.outras-solucoes {
    background-color: var(--branco);
}

/* Contato */
.contato {
    background-color: var(--azul-marinho);
    color: var(--branco);
}

.contato .section-title {
    color: var(--branco);
}

.contato .section-title::after {
    background-color: var(--dourado);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dourado);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--dourado);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background-color: var(--branco);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cinza-medio);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background-color: var(--cinza-claro);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dourado);
    background-color: var(--branco);
}

.submit-button {
    width: 100%;
    background-color: var(--dourado);
    color: var(--azul-marinho);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dourado-escuro);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--azul-marinho-escuro);
    color: var(--branco);
    padding: 2rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dourado);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: var(--cinza-claro);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--branco);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-image img {
        height: 300px;
    }

    .contact-image img {
        height: 200px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-highlight {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

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

::-webkit-scrollbar-track {
    background: var(--cinza-claro);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--dourado-escuro);
}