/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Estilos do Header */
header {
    background-color: #383b41;
    color: white;
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(12, 9, 9, 0.2);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
}

nav {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

nav img {
    height: auto;
    width: auto;
    background: transparent;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

nav a:hover {
    color: #ffbb00;
}

/* Estilos da Seção Hero */
.hero {
    background: linear-gradient(0deg, #be9303, #0e0146);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 70px; /* Compensa a altura do header */
    min-height: 100vh;
    padding-bottom: 2rem;
}

.hero-content {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

/* Estilos do Dashboard */
.dashboard {
    width: 65%; /* Largura do dashboard */
    position: relative;
    padding-top: 41.03%; /* Proporção 16:9 (9 / 16 * 70) */
    overflow: hidden;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos da Seção Services */
.services {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Estilos do Footer */
footer {
    background-color: #1a2b49;
    color: white;
    text-align: center;
    padding: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    /* Ajustes no Header */
    nav {
        flex-direction: column;
        text-align: center;
    }

    .header-left {
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    /* Ajustes no Hero */
    .hero {
        padding-top: 100px; /* Mais espaço para o header em telas pequenas */
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    /* Ajustes no Dashboard */
    .dashboard {
        width: 80%; /* Aumenta a largura em telas menores */
        padding-top: 41.3%; /* Mantém a proporção 16:9 */
    }
}