:root {
    --primary-dark: #1a4d2e;
    --primary-main: #2d6a3e;
    --primary-light: #4f9d5c;
    --accent-light: #7dd87f;
    --accent-lighter: #a8e6a3;
    --dark: #0d1b12;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #a3a3a3;
    --gray-300: #d4d4d4;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.section {
    padding: 6rem 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-main);
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-lighter), var(--accent-light));
    border-radius: 50px;
}

/* Ajustes para Header com Logo em Imagem */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Responsivo */
@media screen and (max-width: 968px) {
    .nav {
        height: 60px;
    }
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section__description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(13, 27, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 10;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.logo-icon:hover {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    color: var(--white);
    font-size: 1rem;
}

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

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-lighter));
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--accent-light);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    color: var(--white);
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(125, 216, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79, 157, 92, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.home__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home__content {
    color: var(--white);
}

.home__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.home__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.home__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.home__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    outline: none;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(79, 157, 92, 0.3);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(79, 157, 92, 0.4);
}

.button-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-light);
}

.button-outline:hover {
    background: var(--accent-light);
    color: var(--dark);
    transform: translateY(-2px);
}

.home__image {
    position: relative;
    opacity: 0;
    animation: fadeInRight 1s ease 0.4s forwards;
}

.home__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.home__image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slower);
}

.home__image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.3), rgba(125, 216, 127, 0.2));
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-light);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-down span {
    width: 6px;
    height: 10px;
    background: var(--accent-light);
    border-radius: 50px;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

.about {
    background: var(--white);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slower);
}

.about__image:hover img {
    transform: scale(1.05);
}

.about__badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.875rem;
    color: var(--white);
    margin-top: 0.5rem;
    opacity: 0.9;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__card {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 15px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.about__card:hover {
    background: var(--white);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.about__card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.about__card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.company__info {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
    display: grid;
    gap: 1rem;
}

.info__item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info__item strong {
    font-weight: 600;
}

.info__item span {
    text-align: right;
    opacity: 0.9;
}

.services {
    background: var(--gray-100);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service__card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: transform var(--transition-base);
}

.service__card:hover .service__icon {
    transform: scale(1.1) rotate(5deg);
}

.service__card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service__card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-lighter), var(--accent-light));
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
}

.products {
    background: var(--white);
}

.products__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product__card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.product__card:hover .product__image img {
    transform: scale(1.1);
}

.product__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 77, 46, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product__card:hover .product__overlay {
    opacity: 1;
}

.product__overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.product__content {
    padding: 1.5rem;
}

.product__content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.product__content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    padding: 4rem 0;
}

.stats__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat__card {
    text-align: center;
    padding: 2rem;
}

.stat__number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__number::after {
    content: '+';
    color: var(--accent-lighter);
}

.stat__card:last-child .stat__number::after {
    content: '%';
}

.stat__label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.contact {
    background: var(--gray-100);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.contact__card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact__text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact__text p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.contact__form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form__group {
    position: relative;
}

.form__group-full {
    grid-column: 1 / -1;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--accent-light);
}

.form__group label {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    color: var(--gray-500);
    font-size: 1rem;
    transition: all var(--transition-base);
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--primary-main);
}

.contact__form .button {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 1rem;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__description {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social__link:hover {
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    transform: translateY(-3px);
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__links a:hover {
    color: var(--accent-light);
}

.footer__info {
    list-style: none;
    color: var(--gray-400);
}

.footer__info li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer__info strong {
    color: var(--white);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer__bottom-links {
    display: flex;
    gap: 2rem;
}

.footer__bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__bottom-links a:hover {
    color: var(--accent-light);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-main), var(--accent-light));
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 157, 92, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].animate {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 968px) {
    .section__title {
        font-size: 2rem;
    }

    .home__container,
    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
    }

    .home__title {
        font-size: 2.5rem;
    }

    .home__image {
        order: -1;
    }

    .services__container,
    .products__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--dark);
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-2xl);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }

    .nav__toggle {
        display: block;
        font-size: 1.5rem;
    }

    .home__title {
        font-size: 2rem;
    }

    .home__image-wrapper img {
        height: 400px;
    }

    .about__image img {
        height: 400px;
    }

    .services__container,
    .products__container {
        grid-template-columns: 1fr;
    }

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

    .stat__number {
        font-size: 2.5rem;
    }

    .contact__form {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

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

    .footer__bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .section__title {
        font-size: 1.75rem;
    }

    .home__title {
        font-size: 1.75rem;
    }

    .home__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
        justify-content: center;
    }
}