/* Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #333;
    padding: 20px 0;
    text-align: center;
}

header .logo {
    color: #fff;
    font-size: 2.5rem;
}

header .logo span {
    color: #f4783f;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f4d03f;
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-image.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

#hero .btn {
    padding: 15px 30px;
    background-color: #f4d03f;
    color: #333;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#hero .btn:hover {
    background-color: #333;
    color: #f4d03f;
}

/* Seções de conteúdo */
h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f4783f;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service, .project-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service:hover, .project-card:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 3rem;
    color: #f4d03f;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

input, textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    padding: 10px;
    font-size: 1.1rem;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #f4d03f;
    color: #333;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Estilos da caixa flutuante de Fale Conosco */
.contact-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    transition: height 0.3s ease;
    overflow: hidden;
}

.contact-header {
    background-color: #333;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.contact-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.minimize-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    outline: none;
}

.contact-content {
    padding: 20px;
    display: block;
}

.contact-box.minimized .contact-content {
    display: none;
}

.contact-box.minimized {
    height: 40px;
    width: 300px;
}

/* Estilos do formulário */
.form-group {
    margin-bottom: 15px;
}

input, textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    padding: 10px;
    font-size: 1.1rem;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #f4d03f;
    color: #333;
}
