/* Fonte e reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #ffbd59;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .btn {
    background: #ffbd59;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    background: #ff9f00;
    transform: scale(1.05);
}

.hero-image img {
    max-width: 500px;
    border-radius: 10px;
    margin-top: 30px;
    animation: zoomIn 2s ease forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Sobre */
.sobre {
    padding: 80px 50px;
    background: #f7f7f7;
    text-align: center;
}

.sobre h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #203a43;
}

.sobre p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Serviços */
.servicos {
    padding: 80px 50px;
    text-align: center;
}

.servicos h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #203a43;
}

.servicos-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 250px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: #1e3c72;
}

/* Contato */
.contato {
    padding: 80px 50px;
    background: #203a43;
    color: white;
    text-align: center;
}

.contato form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato input, .contato textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}

.contato button.btn {
    background: #ffbd59;
    color: #333;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contato button.btn:hover {
    background: #ff9f00;
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 30px 50px;
    text-align: center;
    background: #0f2027;
    color: white;
}

/* Responsivo melhorado */
@media(max-width: 900px) {

    /* Hero */
    .hero {
        flex-direction: column;
        padding: 50px 20px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image {
        margin-top: 20px;
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    /* Navbar */
    .navbar {
        padding: 15px 20px;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: #203a43;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
        width: 200px;
        z-index: 1000;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Serviços */
    .servicos-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Contato */
    .contato {
        padding: 50px 20px;
    }

    .contato form {
        max-width: 100%;
        width: 100%;
    }

    .contato input, .contato textarea {
        width: 100%;
    }

    /* Footer */
    footer {
        padding: 20px;
        font-size: 14px;
    }
}

/* Ajuste global de altura mínima para todas as seções */
section {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Para garantir que a tela não fique cortada no mobile */
body, html {
    overflow-x: hidden;
    width: 100%;
}