/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   HEADER / MENU
========================= */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;

    background:rgb(0, 24, 0);
    backdrop-filter: blur(6px);
    color: white;
    line-height: 1.2;
    }

/* LOGO */
.logo img {
    height: 120px;
    width: auto;
}

/* MENU */
nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.3s;

    background: rgba(92, 226, 121, 0.15);
    backdrop-filter: blur(4px);
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 300px;
    margin-top: 120px;

    background-image: url("img/src/foto-soja.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 60, 0, 0.55);
}

.hero-conteudo {
    position: relative;
    z-index: 1;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.hero-conteudo h1 {
    font-size: 42px;
    line-height: 1.2;
}

.hero-conteudo p {
    font-size: 18px;
    line-height: 1.2;
}

/* =========================
   CONTEÚDO
========================= */
main {
    padding: 40px 20px;
    background: rgb(0, 24, 0);
}

.titulo-institucional {
    font-size: 30px;
    color: white;
    text-align: center;
    margin: 0 auto 20px;
    margin-top: -20px;
     line-height: 1.2;
}

.texto-institucional {
    font-size: 18px;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    text-decoration: none;
    line-height: 1.6;
}

/* =========================
   VÍDEOS
========================= */
.cards-videos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 340px;
    background: #0b1f0b;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.card iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: none;
}

.card h3 {
    margin-top: 10px;
    font-size: 16px;
    color: white;
}

/* =========================
   BOTÃO YOUTUBE
========================= */
.botao-youtube {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px;
}

.botao-youtube a {
    padding: 14px 30px;
    background: rgba(0, 70, 0, 0.6);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.botao-youtube a:hover {
    background: rgba(0, 70, 0, 0.8);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0b1f0b;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer a {
    color: #25d366;
    font-weight: bold;
    text-decoration: none;
}

/* =========================
   BOTÃO FLUTUANTE WHATSAPP
========================= */
.whatsapp-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;

    width: 60px;
    height: 60px;

    background-color: #25d366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        line-height: 1.2;
    }

    .hero {
        height: 260px;
    }

    .hero-conteudo h1 {
        font-size: 28px;
    }

    .hero-conteudo p {
        font-size: 16px;
    }

    .card {
        width: 100%;
        max-width: 360px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 15px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}
.link-instagram {
    color: white; /* rosa do Instagram */
    text-decoration: none;
}
.link-instagram:hover {
    color: white; /* cor quando passar o mouse */
}