/* Variáveis de Cores */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d3748;
    --accent-color: #d69e2e;
    --background-color: #f7fafc;
    --text-color: #2d3748;
    --light-text-color: #ffffff;
}

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 1rem 0;
    border-bottom: 5px solid var(--accent-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.logo h1 {
    color: var(--light-text-color);
    font-size: 1.8rem;
    margin: 0;
}

header nav ul {
    display: flex;
}

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

header nav ul li a {
    color: var(--light-text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)), url('https://images.unsplash.com/photo-1590283148243-90610332247c?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    color: var(--light-text-color);
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero h2 {
    color: var(--light-text-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: var(--light-text-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-whatsapp i {
    margin-right: 10px;
}

/* Seções de Conteúdo */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #f0f2f5;
}

section h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* About Section */
.about-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--light-text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
}

.contact-section .btn-whatsapp.large {
    margin-top: 30px;
    font-size: 1.3rem;
    padding: 18px 35px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 5px;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    section h3 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .contact-section .btn-whatsapp.large {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: var(--light-text-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: scale(1.1);
    text-decoration: none;
    color: var(--light-text-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade para o botão flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
