/* ==============================================
   RESET & BASE
   ============================================== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

body {
    background-color: #f3f3f3;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ==============================================
   VARIÁVEIS GLOBAIS
   ============================================== */
:root {
    --green:             #01a509;
    --yellow:            #f7a71d;
    --white:             #ffffff;
    --bg-light:          #f3f3f3;
    --bg-card:           #e7e5e5;
    --nav-bg:            #e0e0e0;
    --divider:           #c8c8c8;

    --px:                clamp(1.5rem, 6vw, 7rem);
    --py:                clamp(1.5rem, 6vw, 7rem);
    --gap:               clamp(2rem, 5vw, 5rem);
    --radius:            25px;
    --radius-btn:        50px;
}

/* ==============================================
   BOTÕES BASE
   ============================================== */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

button a {
    text-decoration: none;
    color: #333;
    display: block;
    font-weight: 500;
    transition: color 0.3s;
}

/* ==============================================
   HEADER
   ============================================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 0 var(--px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    width: clamp(6rem, 11vw, 11rem);
    height: clamp(6rem, 11vw, 11rem);
    object-fit: contain;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    background-color: var(--nav-bg);
    border-radius: 30px;
    padding: 0.45rem;
}

.nav-list li {
    border-radius: 25px;
    overflow: hidden;
}

.nav-list .nav-item-active {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-list .nav-item-active button a {
    color: var(--green);
    font-weight: 700;
}

.nav-list .nav-item {
    transition: background-color 0.3s;
}

.nav-list .nav-item:hover {
    background-color: rgba(255,255,255,0.55);
}

.nav-list button {
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 500;
}

/* ==============================================
   LAYOUT COMPARTILHADO — LADO A LADO
   ============================================== */
.section-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--gap);
    padding: var(--py) var(--px);
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.col-text,
.col-media {
    flex: 1;
    min-width: 0;
}

.col-media {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* ==============================================
   SEÇÃO 1 — INÍCIO
   ============================================== */
#inicio {
    background-color: var(--bg-light);
}

.inicio-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 580px;
}

.inicio-text h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--green);
    line-height: 1.3;
}

.inicio-text h3 {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    font-weight: 600;
    color: var(--green);
    margin-top: -1.2rem;
}

.inicio-text p {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    font-weight: 450;
    color: var(--green);
    line-height: 1.6;
}

.inicio-img-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    border: 2px solid var(--yellow);
}

.inicio-img-wrap .img-1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.inicio-img-wrap .detail-1-img-1 {
    position: absolute;
    bottom: -1.5%;
    left: -1.5rem;
    z-index: 2;
    background-color: var(--bg-card);
    border-radius: 50%;
    padding: 12px;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.inicio-img-wrap .detail-2-img-1 {
    position: absolute;
    top: 2%;
    right: -1.8rem;
    z-index: 2;
    background-color: var(--bg-card);
    border-radius: 50%;
    padding: 12px;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

/* ==============================================
   SEÇÃO 2 — SOBRE NÓS
   ============================================== */
#sobre-nos {
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--py) var(--px);
}

.sobre-card {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
    max-width: 1200px;
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--green);
}

.sobre-text h1 {
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.sobre-text p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    font-weight: 400;
    margin-top: 1rem;
}

/* ==============================================
   SEÇÃO 3 — LOCALIZAÇÃO
   ============================================== */
#localizacao {
    background-color: var(--bg-light);
}

#localizacao .section-inner {
    align-items: flex-start;
    flex-wrap: wrap;
}

.localizacao-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 580px;
}

.localizacao-text h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--green);
    line-height: 1.3;
}

.localizacao-text p {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    font-weight: 450;
    color: var(--green);
    line-height: 1.6;
}

.localizacao-img-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
}

.localizacao-img-wrap .mapa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.localizacao-acesso {
    width: 100%;
    border-top: 1px solid var(--divider);
    padding-top: clamp(1rem, 2vw, 1.5rem);
    margin-top: 0.5rem;
}

.localizacao-acesso p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--green);
    font-weight: 500;
    line-height: 1.7;
}

/* ==============================================
   SEÇÃO 4 — ESTUDOS AMBIENTAIS
   ============================================== */
#estudos-ambientais {
    background-color: var(--yellow);
}

#estudos-ambientais .section-inner {
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.estudos-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.estudos-text h1 {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
}

.estudos-text > p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--white);
    line-height: 1.75;
}

.estudos-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 0.5rem;
}

.estudo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.estudo .btn-item {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: var(--yellow);
    background-color: var(--white);
    border-radius: var(--radius-btn);
    font-weight: 700;
    padding: 12px 28px;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: transform 0.2s;
}

.estudo .btn-item:hover {
    transform: scale(1.05);
}

.estudo p {
    color: var(--white);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 500;
    margin: 0;
}

.img-stack {
    --s: 1;
    position: relative;
    width: calc(680px * var(--s));
    height: calc(680px * var(--s));
    flex-shrink: 0;
}

.img-stack img {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
}

.img-stack .img-3-1 {
    width: calc(380px * var(--s));
    top: 0;
    left: calc(80px * var(--s));
    z-index: 1;
}

.img-stack .img-3-2 {
    width: calc(380px * var(--s));
    top: calc(160px * var(--s));
    right: 0;
    z-index: 3;
}

.img-stack .img-3-3 {
    width: calc(380px * var(--s));
    bottom: 0;
    left: 0;
    z-index: 2;
}

/* ==============================================
   SEÇÃO 5 — INSCREVA-SE
   ============================================== */
#inscreva-se {
    background-color: var(--green);
}

#inscreva-se .section-inner {
    align-items: center;
    justify-content: center;
}

.inscrevase-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
}

.inscrevase-text h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
}

.inscrevase-text p {
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    color: var(--white);
    line-height: 1.6;
    max-width: 900px;
}

/* ==============================================
   SEÇÃO 6 — FORMULÁRIO
   ============================================== */
#formulario {
    background-color: var(--bg-light);
    border-top: 4px solid var(--green);
}

.formulario-inner {
    display: flex;
    align-items: stretch;
    padding: var(--py) var(--px);
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.formulario-campos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-right: clamp(2rem, 5vw, 5rem);
}

.formulario-titulo {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 800;
    color: var(--green);
}

.formulario-aviso {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: var(--green);
    margin-top: -1rem;
}

.formulario-divisor {
    width: 1px;
    background-color: var(--divider);
    align-self: stretch;
    flex-shrink: 0;
}

.formulario-mensagem {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: clamp(2rem, 5vw, 5rem);
}

.campo-linha {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.campo-linha label {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-weight: 500;
    color: #222;
}

.campo-linha input,
.campo-linha textarea {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #aaa;
    outline: none;
    font-family: inherit;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: #222;
    padding: 4px 0;
    transition: border-color 0.2s;
    width: 100%;
}

.campo-linha input:focus,
.campo-linha textarea:focus {
    border-bottom-color: var(--green);
}

.campo-full {
    width: 100%;
}

.campo-duplo {
    display: flex;
    gap: 2rem;
}

.campo-textarea {
    flex: 1;
    height: 100%;
}

.campo-textarea textarea {
    resize: none;
    min-height: 80px;
    height: 100%;
}

/* ==============================================
   SEÇÃO 7 — CONTATO
   ============================================== */
#contato {
    background-color: var(--bg-light);
}

#contato .section-inner {
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}

.contato-logo-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding-right: clamp(2rem, 5vw, 5rem);
    border-right: 2px solid var(--divider);
    flex: 1.2;
}

.contact-logo {
    width: clamp(120px, 14vw, 220px);
    height: auto;
    object-fit: contain;
}

.contato-logo-col > p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: #333;
    line-height: 2;
    font-weight: 500;
    max-width: 320px;
}

.contatos {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    padding-left: clamp(2rem, 5vw, 5rem);
    justify-content: center;
    align-items: flex-start;
}

.contatos > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.contatos h3 {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 800;
    color: #000;
    margin-bottom: 0.4rem;
}

.contatos p {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-weight: 600;
    color: #222;
    margin-bottom: 0;
}

.contatos span {
    color: var(--yellow);
    font-weight: 600;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.instagram-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.2s;
}

.youtube-icon {
    width: 1.8rem;
    height: 1.3rem;
    transition: transform 0.2s;
}

.instagram-icon:hover,
.youtube-icon:hover {
    transform: scale(1.15);
}

/* ==============================================
   FOOTER
   ============================================== */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-card);
    font-family: 'Montserrat', sans-serif;
    color: #555;
    font-size: 0.9rem;
    font-weight: 400;
}


@media (max-width: 480px) {
    .toast {
        width: 90%;
        text-align: center;
        white-space: normal;
        font-size: 0.85rem;
    }
}

/* ==============================================
   MEDIA QUERIES
   ============================================== */

@media (max-width: 1024px) {
    .section-inner {
        gap: 2.5rem;
    }

    .img-stack {
        --s: 0.8;
    }

    .estudo {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .formulario-titulo {
        font-size: 1.1rem;
    }

    .formulario-aviso {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem var(--px);
        gap: 1rem;
    }

    .header-logo {
        width: 5rem;
        height: 5rem;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.2rem;
    }

    .nav-list button {
         padding: 6px 6px;
        font-size: 13px;
    }

    .section-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .col-text,
    .col-media {
        width: 100%;
        max-width: 100%;
    }

    #inicio .section-inner {
        flex-direction: column-reverse;
    }

    .inicio-img-wrap {
        max-width: 100%;
    }

    .sobre-card {
        padding: 1.5rem;
    }

    .localizacao-img-wrap {
        max-width: 100%;
    }

    .localizacao-text {
        max-width: 100%;
    }

    .img-stack {
        --s: 0.6;
        margin: 0 auto;
    }

    .estudo {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
    }

    .estudo .btn-item {
        width: 100%;
        text-align: center;
    }

    .formulario-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .formulario-campos {
        padding-right: 0;
    }

    .formulario-divisor {
        width: 100%;
        height: 1px;
        align-self: auto;
    }

    .formulario-mensagem {
        padding-left: 0;
    }

    .btn-enviar {
        align-self: stretch;
        width: 100%;
    }

    #contato .section-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .contato-logo-col {
        border-right: none;
        border-bottom: 2px solid var(--divider);
        padding-right: 0;
        padding-bottom: 2rem;
        flex: unset;
        align-items: center;      
        text-align: center;  
    }

    .contact-logo {
        width: 260px;
    }

    .contatos {
        padding-left: 0;
        width: 100%;
        align-items: flex-start; 
    }
}

@media (max-width: 600px) {
    #inscreva-se .section-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .formulario-titulo {
        font-size: 1.2rem;
    }

    .formulario-aviso {
        font-size: 0.9rem;
    }

    .toast {
        width: 90%;
        text-align: center;
        white-space: normal;
        font-size: 0.85rem;
        padding: 14px 20px;
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --px: 1rem;
    }

    .header-logo {
        width: 4.5rem;
        height: 4.5rem;
    }

    .nav-list button {
        padding: 6px 12px;
        font-size: 13px;
    }

    .inicio-img-wrap .detail-1-img-1 {
        width: 50px;
        height: 50px;
        left: -1rem;
        padding: 8px;
    }

    .inicio-img-wrap .detail-2-img-1 {
        width: 35px;
        height: 35px;
        right: -0.8rem;
        padding: 6px;
    }

    .img-stack {
        --s: 0.45;
    }

    .campo-duplo {
        flex-direction: column;
        gap: 1.4rem;
    }

    .contact-logo {
        width: 220px;
    }

     .toast {
        width: 90%;
        text-align: center;
        white-space: normal;
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .img-stack {
        --s: 0.4;
    }

    .estudo .btn-item {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .contact-logo {
        width: 200px;
    }
}

.btn-enviar {
    align-self: flex-end;
    margin-top: 1rem;
    background: linear-gradient(to bottom, var(--yellow), var(--green));
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 700;
    padding: 12px 40px;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.2s;
}

.btn-enviar:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* ==============================================
   TOAST NOTIFICATION
   ============================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 9999;
    white-space: nowrap;
    max-width: 90vw;
}

.toast-visivel {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-sucesso {
    background: linear-gradient(to right, #01a509, #02c40a);
}

.toast-erro {
    background: linear-gradient(to right, #e53935, #ef5350);
}
