/* Variáveis de Cor */
:root {
    --primary-color: #003366; /* Azul Marinho */
    --secondary-color: #FFD700; /* Dourado */
    --accent-color: #CCCCCC; /* Cinza */
    --text-color: #333;
    --background-color: #FFFFFF; /* Branco */
    --light-background: #F8F8F8;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

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

/* Tipografia */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-right: 15px;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background-color: #002c5f; /* Placeholder for darker color */
    color: var(--background-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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


/* Header */
.site-header {
    background-color: var(--background-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.site-header .logo img {
    height: 50px; /* Adjust logo size */
    width: auto;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-color: var(--light-background);
    padding: 120px 0 80px 0; /* Adjusted padding to account for fixed header */
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px); /* Ensure it takes at least viewport height minus header */
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    min-width: 300px; /* Ensure image container doesn't get too narrow */
    text-align: center;
}

.hero-image img {
    max-width: 450px; /* Standardize large image size */
    width: 100%; /* Ensure it scales down */
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin-bottom: 15px; /* Space out buttons on smaller screens */
}


/* Section Padding */
.section-padding {
    padding: 80px 0;
}

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

/* About Section */
.about-section .container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px; /* Ensure content doesn't get too narrow */
}

.about-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.about-content ul li::before {
    content: '•'; /* Simple bullet */
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}


.about-image {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too narrow */
    text-align: center;
}

.about-image img {
     max-width: 450px; /* Standardize large image size */
     width: 100%; /* Ensure it scales down */
     height: auto;
     display: block; /* Remove extra space below img */
     margin: 0 auto; /* Center image within its container */
     border-radius: 8px;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


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

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

.service-item:hover {
    transform: translateY(-10px);
}

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

.service-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-item p {
    font-size: 0.95em;
    color: #555;
}


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

.advantage-item {
    padding: 30px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}


/* Process Section */
.process-flow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.process-step {
    flex: 1;
    min-width: 180px; /* Ensure steps don't get too narrow */
    text-align: center;
    position: relative;
    padding-bottom: 30px; /* Space for connector lines/arrows */
}

.process-step .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.process-step h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9em;
    color: #555;
}

/* Basic connector line (can be enhanced with SVG or CSS arrows) */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px; /* Position between steps */
    width: calc(100% + 20px); /* Line width */
    height: 2px;
    background-color: var(--accent-color);
    z-index: -1; /* Behind content */
    transform: translateX(50%);
}

/* Adjust connector for wrapping */
@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
     .process-step {
        min-width: 250px;
        padding-bottom: 0;
        margin-bottom: 30px;
    }
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: auto;
        bottom: -15px; /* Position below */
        right: 50%; /* Center horizontal */
        transform: translateX(50%);
        width: 2px; /* Vertical line */
        height: calc(100% + 30px); /* Line height */
        background-color: var(--accent-color);
        z-index: -1;
    }
}

.process-image img {
    display: block;
    max-width: 450px; /* Standardize large image size */
    width: 100%; /* Ensure it scales down */
    height: auto;
    margin: 40px auto 0 auto; /* Center image below steps if wrapped */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 5px solid var(--secondary-color);
}

.testimonial-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author p {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}


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

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

.blog-post-preview img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area without distorting */
}

.blog-post-preview h3 {
    font-size: 1.3em;
    padding: 15px 20px 0 20px;
    margin-bottom: 10px;
}

.blog-post-preview p {
     font-size: 0.95em;
     color: #555;
     padding: 0 20px 15px 20px;
     flex-grow: 1; /* Make paragraph take available space */
}

.blog-post-preview .read-more {
    display: inline-block;
    padding: 10px 20px 20px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-post-preview .read-more:hover {
    color: #002c5f; /* Placeholder for darker color */
}


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

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

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #002c5f; /* Placeholder */
}

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

.contact-info h3 {
     margin-top: 0;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #002c5f; /* Placeholder */
}

.social-links {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links a:hover img {
    opacity: 1;
}

.google-map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.google-map iframe {
    display: block; /* Remove extra space below iframe */
}


/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

.site-footer p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-float span {
    font-size: 1em;
    font-weight: bold;
    white-space: nowrap; /* Prevent text wrapping */
}


/* Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

    .site-nav ul {
        gap: 15px;
    }

    .hero-section .container {
         flex-direction: column; /* Stack content and image */
         text-align: center;
    }

    .hero-content {
        max-width: 100%; /* Allow content to fill width */
        margin-bottom: 40px;
    }

    .hero-image,
    .about-image,
    .process-image {
        max-width: 80%; /* Limit container width on tablets */
         margin-top: 20px;
         margin-left: auto;
         margin-right: auto;
    }

    .hero-image img,
    .about-image img,
    .process-image img {
        max-width: 100%; /* Image scales within its container */
    }


    .hero-buttons {
         display: flex;
         justify-content: center;
         flex-wrap: wrap;
    }

     .hero-buttons .btn {
        margin: 5px; /* Adjust margin when wrapped */
    }

    .about-section .container,
    .contact-grid {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
        margin: 0 auto;
    }

    .advantages-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

}

@media (max-width: 768px) {
     .site-nav {
        display: none; /* Hide navigation on smaller screens - consider a hamburger menu */
     }

     .site-header .container {
        justify-content: center; /* Center logo if nav is hidden */
     }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.2em;
    }

     .section-padding {
        padding: 60px 0;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

     .hero-section {
         padding-top: 100px; /* Adjust for header */
         min-height: auto; /* Allow hero to shrink */
    }

     .hero-image,
     .about-image,
     .process-image {
        max-width: 90%; /* Allow container to be larger on mobile */
     }

    .process-step:not(:last-child)::after {
        height: calc(100% + 20px); /* Adjust line height */
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    .hero-buttons {
         flex-direction: column; /* Stack buttons */
         align-items: center;
    }

    .hero-buttons .btn {
         width: 90%; /* Make buttons wider */
         margin-right: 0;
         margin-bottom: 15px;
    }

    .whatsapp-float {
         padding: 8px 12px; /* Smaller padding */
         bottom: 15px;
         right: 15px;
    }

    .whatsapp-float img {
         width: 24px;
         height: 24px;
    }

    .whatsapp-float span {
         font-size: 0.9em;
    }

     .process-step {
        min-width: 200px;
    }
}