@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

:root {
    --verde-claro: #B3E3C2;
    --verde-medio: #6ECF8B;
    --verde-escuro: #5BAF4A;
    --verde-texto: #4A8F3A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #4A8F3A;
}

header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 68px;
    width: auto;
    display: block;
}

.logo-text {
    color: var(--verde-texto);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--verde-texto);
}

#hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 1;
    filter: brightness(0.85);
}

.hero-img.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(90,175,74,0.45) 0%, rgba(76,207,139,0.35) 100%);
    mix-blend-mode: saturation;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.hero-content h1, .hero-content p {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background: rgba(255, 249, 196, 0.7);
    border-radius: 4px;
    padding: 0.1em 0.4em;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4A8F3A;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
    text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.service-section {
    padding: 5rem 1rem;
    background-color: white;
}

.service-section:nth-child(even) {
    background-color: var(--verde-claro);
}

.service-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--verde-texto);
    font-size: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--verde-texto);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--verde-texto);
    margin-bottom: 1rem;
}

.contact-section {
    padding: 5rem 1rem;
    background-color: var(--verde-medio);
    color: white;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, select, textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background-color: var(--verde-escuro);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--verde-texto);
}

footer {
    background-color: var(--verde-escuro);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: #39702e;
    border-radius: 12px;
    padding: 2rem 1rem;
}

.footer-content h3 {
    color: #fff;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--verde-claro);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-institucional {
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    text-align: center;
    color: #e6ffe6;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.footer-institucional strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .service-section h2 {
        font-size: 2rem;
    }
}

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    z-index: 2000;
    transition: opacity 0.8s ease;
}

.splash-img {
    width: 120px;
    height: auto;
    margin: 0 2rem;
    opacity: 0;
    transform: scale(0.7);
    animation: splashIn 1.2s forwards;
}

.splash-img-2 {
    animation-delay: 0.5s;
}

@keyframes splashIn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

#splash-screen.hide {
    opacity: 0;
    pointer-events: none;
}

body.splash-active {
    overflow: hidden;
}

.marketing-bg-section {
    position: relative;
    overflow: hidden;
}

.marketing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('bg-3.png') center center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
}

.marketing-bg-section > *:not(.marketing-bg) {
    position: relative;
    z-index: 1;
}

#marketing h2 {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background: rgba(255, 249, 196, 0.7);
    border-radius: 4px;
    padding: 0.1em 0.4em;
}

.ia-bg-section {
    position: relative;
    overflow: hidden;
}

.ia-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('bg-4.png') center center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
}

.ia-bg-section > *:not(.ia-bg) {
    position: relative;
    z-index: 1;
}

#ia-automacao h2 {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background: rgba(255, 249, 196, 0.7);
    border-radius: 4px;
    padding: 0.1em 0.4em;
}

.fabrica-bg-section {
    position: relative;
    overflow: hidden;
}

.fabrica-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('bg-5.png') center center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
}

.fabrica-bg-section > *:not(.fabrica-bg) {
    position: relative;
    z-index: 1;
}

#fabrica h2 {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background: rgba(255, 249, 196, 0.7);
    border-radius: 4px;
    padding: 0.1em 0.4em;
} 