*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #f5f5f5;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Header fixo */
.main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
}

.logo {
    height: 50px;
}

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

.nav-links a {
    color: #004d40;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Bloco institucional */
.hero {
    background-color: #ffffff;
    padding: 4rem 2rem 3rem;
    display: flex;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.hero .hashtag {
    color: #004d40;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero .slogan {
    color: #83a966;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.container {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

form input, form select, form textarea {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    background-color: #007f4d;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #005f3a;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
}

th {
    background-color: #e0e0e0;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #f1f1f1;
    font-size: 14px;
    margin-top: 40px;
}


.quem-somos-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("../img/soja.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-text {
    color: #fff;
    max-width: 800px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.sobre-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 2rem;
    color: #004d40;
    font-size: 1.1rem;
    line-height: 1.7;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.valor-item {
    background: #ffffff;
    border-left: 4px solid #004d40;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.valor-item .material-symbols-outlined {
    font-size: 36px;
    color: #004d40;
}

.valor-item div {
    font-size: 1rem;
    color: #004d40;
}

@media (max-width: 768px) {
    .proposito-valores {
        flex-direction: column;
    }

    .video-box iframe {
        height: 200px;
    }

    .quem-somos-hero {
        height: auto;
        padding-top: 4rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

.svg-icon {
  color: #004d40;
}


/* Carrossel horizontal de imagens */
.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
}
.carousel-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
}
.carousel-container img:hover {
    transform: scale(1.05);
}

/* Lightbox de visualização */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content .slogan {
        font-size: 22px;
        line-height: 28px;
        text-align: center;
    }

    .hero-content .hashtag {
        font-size: 14px;
    }

    .hero-content {
        padding: 10px;
    }
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .logo {
        height: 35px;
        width: auto;
    }
}

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

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #fff;
        padding: 1rem 0;
    }

    .nav-links.show {
        display: flex;
    }
}


@media (max-width: 768px) {

    .hero-mask h2 {
        font-size: 1.4rem;
    }

    .hero-mask p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .quem-somos-hero {
        height: auto;
        padding-top: 4rem;
    }

    /* Blocos Propósito, Missão, Visão em coluna */
    section[style*="linear-gradient"] > div {
        flex-direction: column !important;
    }

    section[style*="linear-gradient"] > div > div {
        flex: 1 1 100% !important;
    }

    .valores-video-wrap {
        flex-direction: column;
    }

    .valores-bloco, .video-box {
        flex: 1 1 100%;
    }

    .video-box iframe {
        height: 200px;
    }
}

.hero-mask {
    width: 100%;
    min-height: 85vh;
    background-color: rgba(0, 77, 64, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}


@media (max-width: 768px) {

    .hero-mask {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0 1rem;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-mask > div {
        max-width: 100% !important;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-mask h2 {
        font-size: 1.4rem;
        word-break: break-word;
    }

    .hero-mask p {
        font-size: 1rem;
        line-height: 1.5;
        word-break: break-word;
    }
}


.hero-container {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 77, 64, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-mask {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1rem;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-content h2 {
        font-size: 1.4rem;
        word-break: break-word;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        word-break: break-word;
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .hero-content p {
        font-size: 1.2rem;
        line-height: 1.5;
        word-break: break-word;
    }
}

.menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #004d40;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1001;
}


.menu-flutuante {
    display: none;
    position: fixed;
    top: 60px;
    right: 10px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 1rem;
    z-index: 1000;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-flutuante a {
    color: #004d40;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.menu-flutuante a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}


.hero {
    background-color: #ffffff;
    padding: 4rem 2rem 3rem;
    display: flex;
    justify-content: center;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    text-align: left;
}
