/* styles.css */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f0f4f8;
}

header {
    background: linear-gradient(90deg,#000428,#004e92);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

header .logo {
    float: left;
    font-size: 30px;
    font-weight: bold;
}

header nav {
    float: right;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #00bcd4;
}

#hero {
    background: url('hero.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

#hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

#hero .btn {
    display: inline-block;
    padding: 15px 30px;
    background: #00bcd4;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

#hero .btn:hover {
    background: #0097a7;
}

#services {
    background: #fff;
    padding: 50px 0;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    margin-top: -50px;
    z-index: 1;
}

#services h2 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-size: 36px;
    color: #004e92;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    width: 80%;
}

.service-item {
    background: #f0f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

#about {
    padding: 50px 0;
    background: #f0f4f8;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    margin-top: -50px;
    z-index: 1;
}

#about h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: #004e92;
}

#about p {
    width: 80%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    color: #666;
}

#contact {
    background: #fff;
    padding: 50px 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: #004e92;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: #f0f4f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form .btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg,#000428,#004e92);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
}

form .btn:hover {
    background: #003366;
}

.whatsapp-contact {
    text-align: center;
    margin-top: 20px;
}

.whatsapp-contact h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #004e92;
}

.btn-whatsapp {
    display: inline-block;
    padding: 15px 30px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: #1DA851;
}

footer {
    background: linear-gradient(90deg,#000428,#004e92);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header .logo {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }

    header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        display: inline-block;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    #hero h2 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }

    #services h2, #about h2, #contact h2 {
        font-size: 28px;
    }

    .whatsapp-contact h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #hero h2 {
        font-size: 28px;
    }

    #hero p {
        font-size: 16px;
    }

    #hero .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    #services h2, #about h2, #contact h2 {
        font-size: 24px;
    }

    .whatsapp-contact h3 {
        font-size: 18px;
    }
}
