/* Paleta de Colores: */
/* --primary-color: Azul Escuro (#003366); */
/* --secondary-color: Verde Menta (#66CC99); */
/* --text-color: Cinza Escuro (#333); */
/* --subtle-text-color: Cinza Médio (#666); */
/* --background-light: Cinza Claro (#F8F8F8); */
/* --background-white: Branco (#FFFFFF); */
/* --accent-color: Azul Claro (#3399CC); */

:root {
    --primary-color: #003366; /* Azul Escuro */
    --secondary-color: #66CC99; /* Verde Menta */
    --text-color: #333; /* Cinza Escuro */
    --subtle-text-color: #666; /* Cinza Médio */
    --background-light: #F8F8F8; /* Cinza Claro */
    --background-white: #FFFFFF; /* Branco */
    --accent-color: #3399CC; /* Azul Claro */
    --border-color: #DDD; /* Cinza para bordas */

    /* Tipografia: */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-white);
}

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

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    color: var(--subtle-text-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #52b383; /* Manual darken */
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
     background-color: var(--primary-color);
     color: var(--background-white);
}

/* Header */
header {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('hero-background.png') no-repeat center center/cover; /* Usar imagem hero */
    color: var(--background-white);
    padding: 80px 0;
    text-align: center;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

header .logo img {
    max-width: 150px;
    height: auto;
}

header h1 {
    color: var(--background-white);
    font-size: 1.5em;
    margin-bottom: 5px;
}

.hero-content h2 {
     color: var(--background-white);
     font-size: 3em;
     margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Seções Gerais */
section {
    padding: 60px 0;
}

.bg-light-grey {
    background-color: var(--background-light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: var(--subtle-text-color);
    margin-top: -15px;
    margin-bottom: 40px;
}

/* Sobre a Empresa */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center; /* Center image on smaller screens */
}

.about-image img {
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
    border-radius: 8px; /* Optional: add some rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: add shadow */
    /* Rule to decrease image size */
    width: 80%; /* Adjust this value to make the image smaller */
    height: auto;
    display: inline-block; /* Allows margin auto for centering */
}


/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.service-item img {
    /* Rule to decrease icon size */
    width: 60px; /* Adjust size as needed */
    height: 60px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-item p {
    color: var(--subtle-text-color);
}

.cta-services {
    text-align: center;
    margin-top: 30px;
}

.cta-services p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-color);
}


/* Vantagens */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.advantage-item img {
    /* Rule to decrease icon size */
    width: 60px; /* Adjust size as needed */
    height: 60px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.advantage-item p {
     color: var(--subtle-text-color);
}


/* Etapas */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.step-item img {
    /* Rule to decrease icon size */
    width: 60px; /* Adjust size as needed */
    height: 60px;
    margin-bottom: 15px;
}

.step-item span {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step-item h3 {
     font-size: 1.5em;
     margin-bottom: 10px;
}

.step-item p {
     color: var(--subtle-text-color);
}

.cta-steps {
    text-align: center;
    margin-top: 30px;
}


/* Depoimentos */
.testimonials-slider {
    display: flex; /* Use flexbox for slider */
    overflow-x: auto; /* Allow horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to items */
    gap: 30px;
    padding-bottom: 20px; /* Space for scrollbar */
}

.testimonial-item {
    flex: 0 0 300px; /* Fixed width items */
    scroll-snap-align: start; /* Align item to start of container */
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    min-width: 300px; /* Ensure minimum width */
}

.client-photo {
    width: 80px; /* Smaller size for photos */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary-color);
}

.testimonial-item p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
}

.client-info h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info span {
    display: block;
    font-size: 0.9em;
    color: var(--subtle-text-color);
    margin-bottom: 10px;
}

.stars {
    color: gold; /* Or another accent color */
    font-size: 1.2em;
}

.stars .fas {
    margin: 0 2px;
}


/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post {
    background-color: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-post img {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Crop image to fit */
}

.blog-post .content {
    padding: 20px;
}

.blog-post h3 {
     font-size: 1.3em;
     margin-top: 0;
     margin-bottom: 10px;
}

.blog-post p {
     color: var(--subtle-text-color);
     flex-grow: 1; /* Allow paragraph to take up space */
}

.blog-post .read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.blog-post .read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.blog-post .read-more:hover i {
    margin-left: 10px;
}

.cta-blog {
    text-align: center;
    margin-top: 30px;
}


/* Contato */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2em;
}

.contact-info address {
    font-style: normal;
    margin-bottom: 20px;
    color: var(--subtle-text-color);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.8em;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(102, 204, 153, 0.5);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.google-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.footer-logo, .company-details, .footer-links {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: bold;
}

.company-details {
    text-align: left;
}

.company-details p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.company-details strong {
    color: var(--secondary-color);
}

.footer-links {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1; /* Image above text on mobile */
    }

    .about-image img {
        width: 100%; /* Full width on mobile */
        max-width: 350px; /* Limit max width even on small screens */
    }

    .services-grid,
    .advantages-grid,
    .steps-grid,
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-item {
        min-width: 280px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo, .company-details, .footer-links {
         text-align: center;
         min-width: auto;
    }

    .footer-links {
        align-items: center;
    }
}