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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    /* efeito de desfoque */
    -webkit-backdrop-filter: blur(15px);
    /* suporte para Safari */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo img {
    height: 70px;
    width: auto;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: -100px;
    height: 60vh;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1800px;
    height: auto;
    object-fit: contain;
    padding: 0 20px;
    opacity: 0;
    transition: transform 1s linear;
}

.hero-image.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0;
    padding: 0 20px;
    opacity: 0;
    animation: contentFadeIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

.hero-content p {
    font-size: clamp(24px, 3vw, 32px);
    color: #12595B;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.typing-text {
    font-size: clamp(22px, 4vw, 68px);
    color: #12595B;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    width: 0;
    margin: -20px auto 15px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #12595B;
    animation: typing 2.5s steps(40, end) forwards,
        blink-caret .75s step-end infinite;
    animation-delay: 1s;
}

.highlight {
    color: #DB563F;
    font-weight: bold;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 4s;
}

/* Animações */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #12595B
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentFadeIn {
    to {
        opacity: 1
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content p {
        font-size: clamp(20px, 2.5vw, 28px);
        /* Ajustado para telas menores */
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: clamp(18px, 2vw, 24px);
        /* Ajustado para telas muito pequenas */
    }
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Seção FAQ */
.faq {
    padding: 60px 0 80px;
    background: #ffffff;
    scroll-margin-top: 80px;
    /* Ajusta o scroll considerando o header fixo */
}

.faq-title {
    color: #12595B;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq h2 {
    color: #12595B;
    font-size: 32px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 30px;
    padding-left: 20px;
}

.accordion {
    counter-reset: accordion-counter;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    background: #EBEAE4;
    counter-increment: accordion-counter;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 40px;
    background-color: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #12595B;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.accordion-header:before {
    content: counter(accordion-counter) ".";
    position: absolute;
    left: 20px;
    color: inherit;
    font-weight: bold;
}

.accordion-header:after {
    content: '';
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23DB563F'%3E%3Cpath d='M12 15.4l-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    color: #DB563F;
}

.accordion-header.active:after {
    transform: scaleY(-1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #EBEAE4;
}

.accordion-content.active {
    max-height: 1200px;
}

.accordion-content p {
    padding: 0 40px 20px 20px;
    line-height: 1.6;
}

/* Seção App */
.app-termo {
    padding: 60px 0 80px;
    background: url('../img/compost-farm.png') no-repeat center;
    background-size: cover;
    scroll-margin-top: 150px;
    /* Ajusta o scroll considerando o header fixo */
}

.app-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-download-content {
    flex: 2;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.app-download-content h2 {
    font-size: clamp(36px, 5vw, 50px);
    color: #12595B;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 350;
}

.app-download-content p {
    font-size: clamp(18px, 2vw, 22px);
    color: #12595B;
    margin-bottom: 40px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.app-buttons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-buttons a:hover {
    transform: translateY(-5px);
}

.app-buttons img {
    height: 50px;
    width: auto;
}

.app-dowload-buttons {
    display: flex;
    gap: 40px;
    margin-top: 80px;
    justify-content: left;
}

.apple-store-button {
    display: inline-flex;
    align-items: center;
    background-color: rgba(219, 86, 63, 0.8);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.apple-store-button:hover {
    background-color: rgba(219, 86, 63, 0.6);
    transform: scale(1.03);
}

.apple-store-button img {
    height: 30px;
    margin-right: 16px;
}

.apple-store-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.apple-store-text .small-text {
    font-size: 12px;
    color: #EBEAE4;
}

.apple-store-text .big-text {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.google-play-button {
    display: inline-flex;
    align-items: center;
    background-color: rgba(219, 86, 63, 0.8);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.google-play-button:hover {
    background-color: rgba(219, 86, 63, 0.5);
    transform: scale(1.03);
}

.google-play-button img {
    height: 30px;
    margin-right: 16px;
}

.google-play-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.google-play-text .small-text {
    font-size: 12px;
    color: #EBEAE4;
}

.google-play-text .big-text {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.app-mockup {
    position: relative;
    width: 50%;
    max-width: 600px;
    z-index: 1;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.map-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Queries */
@media (max-width: 992px) {
    .app-container {
        padding: 40px 20px;
    }

    .app-mockup {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }

    .app-mockup img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .app-termo {
        padding: 40px 20px;
    }

    .app-container {
        padding: 30px 15px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-mockup {
        margin-top: 30px;
    }
}

/* Seção Especialista */
.contact {
    position: relative;
    padding: 80px 0;
    background: #fff;
    margin-bottom: 40px;
}

.contact-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: rgba(18, 89, 91, 0.85);
    border-radius: 12px;
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #EBEAE4;
}

.contact-content h2 {
    font-size: clamp(36px, 5vw, 70px);
    margin-bottom: 20px;
    font-weight: 350;
    line-height: 1.0;
}

.contact-content p {
    font-size: clamp(18px, 3vw, 25px);
    margin-bottom: 40px;
    line-height: 1.2;
}

.contact-btn {
    display: inline-block;
    background: #EBEAE4;
    color: #12595B;
    padding: 20px 100px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 24px;
}

.contact-btn:hover {
    background: #f5f5f5;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajuste do scroll suave */
html {
    scroll-behavior: smooth;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .specialist {
        padding: 40px 20px;
    }

    .specialist-container {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .map-overlay img {
        padding: 10px;
    }

    .hero {
        height: calc(100vh - 80px);
        padding-top: 60px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-image {
        padding: 0 10px;
    }

    .hero-image {
        max-height: 400px;
    }

    .faq {
        padding: 100px 0 60px;
    }

    .faq-title {
        font-size: 36px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 15px;
    }

    .hero-image {
        padding: 0 5px;
    }

    .specialist-btn {
        width: 100%;
        max-width: 300px;
    }

    .specialist-content h2 {
        padding: 0 20px;
    }

    .faq-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .faq h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Rodapé */
.footer {
    color: #12595B;
    padding: 20px 0;
    text-align: center;
}

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

.footer p {
    font-size: 16px;
    margin: 0;
}

/* Media Queries para o Footer */
@media (max-width: 768px) {
    .footer {
        padding: 15px 0;
    }

    .footer p {
        font-size: 14px;
    }
}

/* Carrossel de Imagens */
.image-carousel {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.carousel-slide {
    padding: 0 10px;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #12595B;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background: #DB563F;
}

.prev-button {
    left: -25px;
}

.next-button {
    right: -25px;
}

.carousel-arrow {
    color: white;
    font-size: 24px;
    font-weight: bold;
}