body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff;
    color: #222;
    scroll-behavior: smooth;
}

/* Header */
.header {
    display: flex;
    justify-content: flex-end;
    /* Alinha o menu à direita */
    align-items: center;
    padding: 20px;
    background-color: #222;
    color: #fff;
}

.header h1 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
    /* Centraliza o texto */
    flex: 1;
    /* Garante que o texto ocupe o espaço necessário */
}

/* Menu Hambúrguer */
.menu {
    position: relative;
}

.icon-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    /* Garante que o botão fique acima do menu */
}

.icon-menu img {
    width: 100%;
    height: auto;
}
.icon-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.icon-grid div {
    text-align: center;
    max-width: 200px;
}

.icon-grid img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.icon-grid p {
    font-size: 1rem;
    margin-top: 10px;
}

.menu-open {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    /* Esconde o menu por padrão */
    z-index: 1000;
    /* Garante que o menu fique acima de outros elementos */
}

.menu-open.active {
    display: block;
    /* Exibe o menu quando ativo */
}

.menu-open a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.menu-open a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu .icon-menu {
    width: 40px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
    /* Garante que a imagem não ultrapasse os limites */
    height: 380px;
    /* Define uma altura fixa para o banner */
}

.hero img {
    width: 100%;
    height: auto;
    /* Garante que a altura seja ajustada proporcionalmente */
    max-height: 600px;
    /* Define uma altura máxima para evitar cortes */
    object-fit: contain;
    /* Garante que a imagem preencha o contêiner */
    display: block;
    /* Remove espaços extras ao redor da imagem */
}

.hero-text h1 {
    font-size: 1rem;
    /* Reduz ainda mais o tamanho do título */
    margin-bottom: 5px;
    top: 90%;
    /* Move o texto mais para baixo */
}

.hero-text p {
    font-size: 0.8rem;
    /* Reduz o tamanho da frase */
    margin-top: 5px;
    /* Ajusta o espaçamento acima da frase */
}


/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    /* Mantém a proporção 16:9 */
    margin: 0 auto;
    background-color: #f9f9f9;
    max-height: 80vh;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #222;
    font-weight: bold;
}
.prev,
.next {
    display: none !important;
}

/* Visão Geral */
.visao-geral {
    padding: 40px 20px;
    text-align: center;
}

.visao-geral h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.visao-geral p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.info-boxes {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.info-boxes div {
    flex: 1;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.info-boxes h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-boxes p {
    font-size: 1rem;
}

/* Objetivos e Entregas */
.objetivos-entregas {
    background-color: #f9f9f9;
    padding: 20px 20px;
    text-align: center;
}

.objetivos-entregas h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Jornada do Projeto */
.jornada {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.jornada h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
}

.step img {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step p {
    font-size: 1rem;
}

/* Orçamento */
.orcamento {
    background-color: #222;
    color: #fff;
    padding: 20px 20px;
    text-align: center;
}

.orcamento h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.orcamento p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.orcamento small {
    font-size: 1rem;
}

.orcamento a {
    color: #ff7b00;
    text-decoration: none;
    font-weight: bold;
}

.orcamento a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contatos img {
    width: 40px;
    margin: 0 10px;
    cursor: pointer;
}

.contatos img:hover {
    opacity: 0.8;
}

/* Variáveis CSS */
:root {
    --menu-bg-color: rgba(0, 0, 0, 0.9);
    --menu-text-color: #fff;
    --menu-hover-bg: rgba(255, 255, 255, 0.1);
    --font-size-small: 0.9rem;
    --font-size-medium: 1rem;
    --font-size-large: 1.5rem;
    --icon-size-small: 30px;
    --icon-size-medium: 35px;
}

/* Responsividade Geral */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .menu-open {
        width: 90%;
        right: 5%;
        padding: 15px;
        background-color: var(--menu-bg-color);
        color: var(--menu-text-color);
        border-radius: 8px;
    }

    .menu-open a {
        font-size: var(--font-size-medium);
        padding: 10px 0;
        text-align: center;
        color: var(--menu-text-color);
    }

    .menu-open a:hover {
        background-color: var(--menu-hover-bg);
    }

    .icon-menu {
        width: var(--icon-size-medium);
        height: var(--icon-size-medium);
    }

    .hero {
        height: auto;
        padding: 20px;
    }

    .hero img {
        object-fit: cover;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    body {
        font-size: var(--font-size-small);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-boxes {
        flex-direction: column;
        gap: 15px;
    }

    .info-boxes div {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .menu-open {
        width: 100%;
        right: 0;
        padding: 10px;
    }

    .menu-open a {
        font-size: var(--font-size-small);
    }

    .icon-menu {
        width: var(--icon-size-small);
        height: var(--icon-size-small);
    }

    .hero-text h1 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: var(--font-size-small);
    }

    .section-title {
        font-size: 1.2rem;
        color: #333;
    }
}
/* Responsivo para celular */
@media (max-width: 700px) {
    .slider {
        aspect-ratio: unset;
        max-height: none;
        height: auto;
        min-height: 220px;
        background: #f9f9f9;
    }
    .slide img {
        width: 100vw;
        height: auto;
        max-height: 60vh;
        object-fit: contain;
        object-position: center;
    }
}
@media (max-width: 700px) {
    .prev,
    .next {
        display: none !important;
    }
}