/* ===========================
   Variáveis / tokens
=========================== */
:root {
    --verde: #29aa41;
    --branco: #f9f9f9;
    --preto: #111111;
    --cinza-claro: #efefef;
    --amarelo: #ffe345;
    --bg: #e9e9e9;
    --texto: #1f1f26;
    --placeholder: #a6a6a6;

    --font-title: "Rethink Sans", sans-serif;
    --font-nav: "Nunito Sans", sans-serif;
}

/* ===========================
   Reset básico
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-title);
    line-height: 1.5;
    color: var(--texto);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
}

.container {
    width: min(1080px, 100%);
    margin-inline: auto;
    padding-inline: 20px;
}

/* ===========================
   Botões
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding-inline: 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn-dark {
    background: var(--preto);
    color: var(--branco);
    box-shadow: 6px 4px 11.3px rgba(0, 0, 0, 0.26);
}

.btn-green {
    background: var(--verde);
    color: var(--branco);
    box-shadow: 5px 4px 7.85px rgba(79, 219, 105, 0.18);
}

.section-pill {
    background: var(--bg);
    color: var(--verde);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 48px);
    padding: 12px 48px;
    border-radius: 40px;
    text-align: center;
    margin-bottom: -28px;
    position: relative;
    z-index: 2;
}

.section-pill-light {
    background: var(--bg);
    color: var(--preto);
}

/* ===========================
   Header
=========================== */
.site-header {
    background: var(--branco);
    box-shadow: -5px 11px 5.4px rgba(0, 0, 0, 0.03);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

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

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-family: var(--font-nav);
    font-weight: 500;
    font-size: 16px;
    color: var(--preto);
}

.main-nav a:hover {
    color: var(--verde);
}

.nav-cta {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--preto);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Hero
=========================== */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--branco);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 96px 20px;
    max-width: 620px;
    margin-left: min(11vw, 180px);
}

.hero-swirl {
    width: 80px;
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
}

.hero p {
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
}

/* ===========================
   Quem somos
=========================== */
.quem-somos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 24px;
}

.quem-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 44px;
}

.qs-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    padding: 0 24px;
    background: var(--cinza-claro);
    border: none;
    border-radius: 16px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 20px;
    color: var(--preto);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.qs-item .qs-arrow {
    font-size: 24px;
}

.qs-item.is-active,
.qs-item:hover {
    background: var(--verde);
    color: var(--branco);
}

.qs-panel {
    position: relative;
    background: var(--cinza-claro);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
}

.qs-illustration {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 90px;
    opacity: 0.5;
}

.qs-panel h2 {
    font-size: 36px;
}

.qs-panel p {
    max-width: 360px;
}

/* ===========================
   Impacto
=========================== */
.impacto-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    width: 100%;
}

.impacto {
    background: var(--verde);
    padding: 64px 0 24px;
    width: 100%;
}

.impacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
    color: var(--branco);
}

.impacto-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.impacto-number {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(56px, 8vw, 128px);
    color: var(--amarelo);
    line-height: 1;
}

.impacto-label {
    font-weight: 600;
    font-size: 24px;
    color: var(--amarelo);
}

.impacto-item p {
    font-weight: 800;
    font-size: 24px;
}

/* ===========================
   Depoimentos
=========================== */
.depoimentos {
    padding: 24px 0;
}

.depoimentos h2 {
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.912px;
    margin-bottom: 24px;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.depoimento-card {
    position: relative;
    background: var(--cinza-claro);
    border-radius: 8px;
    padding: 32px;
    padding-bottom: 88px;
    min-height: 257px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.depoimento-card p {
    font-size: 16px;
    letter-spacing: -0.304px;
}

.depoimento-avatar {
    position: absolute;
    left: 32px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-card strong {
    position: absolute;
    left: 88px;
    bottom: 46px;
    font-size: 14px;
    letter-spacing: -0.266px;
}

.depoimento-card span {
    position: absolute;
    left: 88px;
    bottom: 26px;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -0.228px;
}

/* ===========================
   Parceiros
=========================== */
.parceiros {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    width: 100%;
}

.parceiros-bg {
    background: var(--preto);
    width: 100%;
}

.parceiros-grid {
    padding: 64px 20px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 48px 64px;
    max-width: 1000px;
    margin-inline: auto;
}

.partner-logo {
    width: 190px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Tamanho individual de cada logo — ajuste o % para aumentar/diminuir
   apenas a imagem, sem alterar o tamanho da célula (.partner-logo). */
.partner-logo--climate-company img { max-width: 150%; max-height: 150%; }
.partner-logo--ufrj img { max-width: 180%; max-height: 180%; }
.partner-logo--unifor img { max-width: 200%; max-height: 200%; }
.partner-logo--lab img { max-width: 200%; max-height: 200%; }
.partner-logo--weesg img { max-width: 100%; max-height: 100%; }
.partner-logo--equos img { max-width: 100%; max-height: 100%; }
.partner-logo--youth-climate-leaders img { max-width: 120%; max-height: 120%; }

/* ===========================
   Voluntário
=========================== */
.voluntario {
    padding: 0;
    overflow: hidden;
}

.voluntario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0;
}

.voluntario-text {
    background: var(--amarelo);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 64px min(9vw, 180px);
}

.voluntario-text h2 {
    color: var(--verde);
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 0.95;
}

.voluntario-text .btn {
    width: fit-content;
}

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

/* ===========================
   Contato
=========================== */
.contato {
    padding: 36px 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contato-intro h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    margin-bottom: 24px;
}

.contato-intro p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 32px;
}

.contato-illustration {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 380px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contato-form label {
    font-weight: 700;
    font-size: 20px;
    margin-top: 8px;
}

.contato-form select,
.contato-form input,
.contato-form textarea {
    width: 100%;
    background: var(--cinza-claro);
    border: none;
    border-radius: 8px;
    padding: 20px;
    font-family: var(--font-title);
    font-size: 16px;
    color: var(--preto);
}

.contato-form select {
    appearance: none;
    color: var(--placeholder);
    background-image: url("../images/icons/chevron.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 17px;
}

.contato-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contato-form ::placeholder {
    color: var(--placeholder);
}

.btn-submit {
    margin-top: 12px;
    width: 100%;
    box-shadow: 5px 4px 7.85px rgba(0, 0, 0, 0.18);
}

.btn-submit img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* ===========================
   Footer
=========================== */
.site-footer {
    background: var(--amarelo);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 23px;
    max-width: 360px;
}

.footer-brand img {
    height: 30px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    color: var(--verde);
    font-weight: 400;
    font-size: 14px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-socials img {
    height: 32px;
    width: auto;
}

.footer-contact address {
    font-style: normal;
    color: var(--verde);
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================
   Responsividade
=========================== */
@media (max-width: 960px) {
    .quem-somos-grid,
    .impacto-grid,
    .depoimentos-grid,
    .voluntario-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin-left: 0;
        padding: 64px 24px;
    }

    .voluntario-text {
        padding: 48px 24px;
    }

    .voluntario-img {
        max-height: 320px;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--branco);
        border-radius: 16px;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
        padding: 8px 20px;
        z-index: 99;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--cinza-claro);
        width: 100%;
    }

    .main-nav a:last-of-type {
        border-bottom: none;
    }

    .nav-cta {
        display: inline-flex;
        margin: 16px 4px 8px;
        width: fit-content;
    }
}

@media (max-width: 600px) {
    main section {
        padding: 2.5rem 1.25rem;
    }

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

    .impacto-grid {
        gap: 40px;
    }

    .parceiros-grid {
        gap: 24px;
        padding: 40px 20px 32px;
    }

    .partner-logo {
        width: 130px;
        height: 48px;
    }

    .partner-logo--climate-company img,
    .partner-logo--ufrj img,
    .partner-logo--unifor img,
    .partner-logo--lab img,
    .partner-logo--weesg img,
    .partner-logo--equos img,
    .partner-logo--youth-climate-leaders img {
        max-width: 110%;
        max-height: 110%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
