html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* ================================
   HEADER
================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    opacity: 0;
    z-index: 900;
    transition: 
        opacity 500ms ease,
        background-color 700ms ease,
        box-shadow 400ms ease;
}

header.scrolled {
    opacity: 1;
    background-color: rgba(66, 66, 66, 0.99);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================================
   LOGO CENTRAL (estado inicial)
================================ */
.logo-central {
    position: relative;
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    z-index: 10;
    transform-origin: left top;
    transition:
        font-size 600ms ease,
        transform 600ms ease
}

/* ================================
   LOGO NO HEADER (após scroll)
================================ */
.logo-central.logo-header {
    position: fixed;
    transform: translate(10px, -22px);
    font-size: 24px  !important;
    z-index: 1000;
}

header menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

header menu span {
    color: white;
    font-weight: 700;
    font-size: 24px;
}

header menu nav {
    display: flex;
    justify-content: space-between;
    flex: 0.7;
    margin-right: 60px;
}

header menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
}

header menu a:hover {
    color: #2FD47F;
}

header .toggle {
    width: clamp(26px, 5vw, 35px);
    height: clamp(20px, 4vw, 28px);
    position: relative;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    margin: 0 2em;
}

/* Barras */
header .toggle span {
    position: absolute;
    display: block;
    height: clamp(2.5px, 0.5vw, 4px);
    width: 100%;
    background-color: black;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Posições iniciais */
header .toggle span:nth-child(1) {
    transform: translateY(clamp(-11px, -1vw, -7px));
}

header .toggle span:nth-child(2) {
    opacity: 1;
}

header .toggle span:nth-child(3) {
    transform: translateY(clamp(7px, 1vw, 11px));
}

/* Estado ativo → vira X perfeito */
header .toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

header .toggle.active span:nth-child(2) {
    opacity: 0;
}

header .toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Toggle - Cor das barras quando header está visível */
header.scrolled .toggle span {
    background-color: white;
}

/* Menu Mobile */
.mobile {
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: rgba(66, 66, 66, 0.99);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 90;
    overflow: hidden;
}

.mobile.active {
    transform: translateX(0);
}

.mobile #menuMobile {
    display: flex !important;
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
}

.mobile #menuMobile a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile #menuMobile a:hover {
    color: #2FD47F;
    padding-left: 10px;
}

/* Overlay escuro */
.mobile::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.mobile.active::before {
    opacity: 1;
    pointer-events: auto;
}

main {
    display: flex;
    flex-direction: column;
    background-image: url(img/fundo.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section {
    display: flex;
    padding: 40px;
    flex-direction: column;
    color: #fff;
    background-image: url(img/fundo1.JPG);
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
    background-size: cover;
    background-position: center;
}

section h1 {
    font-size: 120px;
    font-weight: 900;
    margin: 0;
}

section h2 {
    font-size: 66px;
    font-weight: 700;
}

section #pVerde {
    color: #2FD47F;
    font-size: 36px;
    font-weight: 500;
}

section p {
    font-size: 30px;
    font-weight: 500;
}

.minera1 {
    display: flex;
    padding: 30px;
    flex: 1;
    margin: 30px 0;
    gap: 20px;
}

.minera1 article {
    flex: 0.7;
    color: #424242;
}

.minera1 article h4 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.minera1 article p {
    font-size: 24px;
    font-weight: 400;
}

.minera1 .paisagemVerde {
    flex: 0.3;
    width: 10vw;
    height: 90%;
    border-radius: 20px;
    box-shadow: 6px 7px 10px rgba(0, 0, 0, 0.3);
    align-self: center;
}

.acoes {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.acoes .titulo {
    display: flex;
    align-items: center;
    font-size: 69px;
    font-weight: 800;
    color: #424242;
    margin-bottom: 20px;
    gap: 10px;
}

.acoes .titulo h3 {
    flex: 0.3;
    margin: 0;
    display: contents;
}

.acoes .titulo span {
    height: 5px;
    flex: 1;
    background-color: #424242;
}

.acoes article {
    display: flex;
    gap: 8em;
    justify-content: space-between;
}

.acoes article .acao-item {
    flex: 0.35;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #07241C;
    box-shadow: 8px 4px 10px rgba(0, 0, 0, 0.7);
    padding: 40px 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.acoes article .acao-item img {
    transition: transform 0.6s;
}

.acoes article .acao-item h4,
.acoes article .acao-item p {
    font-size: 24px;
    color: #F2EEE8;
    margin: 10px 0;
}

.acoes article .acao-item:hover {
    transform: translateY(-10px);
    transition: transform 0.3s;
}

.acoes article .acao-item:hover img {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 5px rgba(47, 212, 127, 0.7));
    transition: transform 0.6s;
}

/* Política Ambiental da Empresa */
.politica-ambiental {
    background-color: #07241C;
    color: #ffffff;
    padding: 0px 40px 60px 40px;
    margin: 6em 0 12em 0;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.politica-ambiental::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 700px;
    height: 100%;
    background-image: url(img/flor.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    opacity: 0.7;
    pointer-events: none;
}

.politica-container {
    max-width: 1300px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.politica-ambiental h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.politica-legenda {
    font-size: 18px;
    margin-bottom: 50px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 400;
}

.politica-lista {
    font-size: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lista-politicas li {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
    max-width: 950px;
}

.politica-lista li {
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
    max-width: 950px;
}

.fundo {
    background-color: #6161610D;
    width: 100%;
    height: 250px;
    background-position: center;
}

/* Footer */
.footer {
    background-color: #07241C;
    color: #ffffff;
    padding: 40px 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-left p {
    margin: 4px 0;
    font-size: 24px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 120px;
    font-weight: 900;
}

.logo-text {
    color: #ffffff;
}

.logo-dot {
    color: #2FD47F;
}

.footer-right h4 {
    margin-bottom: 10px;
    font-size: 30px;
}

.footer-right p {
    margin: 4px 0;
    font-size: 28px;
}

/* ================================
   RESPONSIVIDADE
================================ */

@media screen and (max-width: 1200px) {
    section h1 {
        font-size: 100px;
    }

    section h2 {
        font-size: 56px;
    }

    section #pVerde {
        font-size: 32px;
    }

    section p {
        font-size: 26px;
    }

    .minera1 article h4 {
        font-size: 38px;
    }

    .minera1 article p {
        font-size: 22px;
    }

    .acoes .titulo {
        font-size: 60px;
    }

    .acoes article {
        gap: 5em;
    }

    .acoes article .acao-item h4,
    .acoes article .acao-item p {
        font-size: 22px;
    }

    .politica-ambiental h2 {
        font-size: 3rem;
    }

    .politica-lista {
        font-size: 26px;
    }

    .footer-left p {
        font-size: 22px;
    }

    .footer-right h4 {
        font-size: 28px;
    }

    .footer-right p {
        font-size: 26px;
    }
}

@media screen and (max-width: 1024px) {
    section h1 {
        font-size: 80px;
    }

    section h2 {
        font-size: 48px;
    }

    section #pVerde {
        font-size: 28px;
    }

    section p {
        font-size: 24px;
    }

    .minera1 article h4 {
        font-size: 32px;
    }

    .minera1 article p {
        font-size: 20px;
    }

    .acoes .titulo {
        font-size: 48px;
    }

    .acoes article {
        gap: 3em;
    }

    .politica-ambiental h2 {
        font-size: 2.5rem;
    }

    .politica-lista {
        font-size: 24px;
    }
}
/*so do menu toggle*/
@media screen and (max-width: 980px) {
    header menu nav {
        display: none !important;
    }

    header .toggle {
        display: flex !important;
    }

    header.scrolled .toggle {
        display: flex !important;
    }
}
@media screen and (max-width: 980px) {
    .minera1 {
        flex-direction:column;
    }
    .paisagemVerde{
        width:85%!important;
    }
    .acoes article {
        flex-wrap: wrap;
        gap: 2em;
    }
    
    .acoes article .acao-item {
        flex: 0 1 calc(44% - 1em);
    }
    
    .acoes article .acao-item:last-child {
        flex: 0 1 100%;
    }
    
}
@media screen and (max-width: 768px) {

    section h1 {
        font-size: 60px !important;
    }

    section h2 {
        font-size: 36px;
    }

    section #pVerde {
        font-size: 22px;
    }

    section p {
        font-size: 18px;
    }

    .minera1 {
        flex-direction: column;
        padding: 20px;
    }

    .minera1 article {
        flex: 1;
    }

    .minera1 article h4 {
        font-size: 28px;
    }

    .minera1 article p {
        font-size: 18px;
    }

    .minera1 .paisagemVerde {
        width: 85%;
        height: 300px;
        object-fit: cover;
    }

    .acoes {
        padding: 30px 20px;
    }

    .acoes .titulo {
        font-size: 36px;
        flex-wrap: wrap;
    }

    .acoes .titulo h3 {
        flex: none;
        width: 100%;
    }

    .acoes article {
        flex-direction: column;
        gap: 2em;
    }

    .acoes article .acao-item {
        flex: 1;
    }

    .acoes article .acao-item h4,
    .acoes article .acao-item p {
        font-size: 20px;
    }

    .politica-ambiental {
        padding: 20px 30px;
        margin: 3em 0 6em 0;
    }

    .politica-ambiental::after {
        width: 400px;
        right: 0px;
    }

    .politica-ambiental h2 {
        font-size: 2rem;
    }

    .politica-legenda {
        font-size: 16px;
    }

    .politica-lista {
        font-size: 20px;
        gap: 20px;
    }

    .footer {
        padding: 30px 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .logo {
        font-size: 80px;
    }

    .footer-left p {
        font-size: 18px;
    }

    .footer-right h4 {
        font-size: 24px;
    }

    .footer-right p {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    

    section h1 {
        font-size: 48px;
    }

    section h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    section #pVerde {
        font-size: 18px;
    }

    section p {
        font-size: 16px;
    }

    .minera1 {
        padding: 15px;
        margin: 20px 0;
    }

    .minera1 article h4 {
        font-size: 22px;
    }

    .minera1 article p {
        font-size: 16px;
    }

    .minera1 .paisagemVerde {
        height: 250px;
    }

    .acoes {
        padding: 20px 15px;
    }

    .acoes .titulo {
        font-size: 28px;
    }

    .acoes article {
        gap: 1.5em;
    }

    .acoes article .acao-item {
        padding: 30px 15px;
    }

    .acoes article .acao-item img {
        max-width: 70px;
    }

    .acoes article .acao-item h4 {
        font-size: 18px;
    }

    .acoes article .acao-item p {
        font-size: 16px;
    }

    .politica-ambiental {
        padding: 20px 20px;
        margin: 2em 0 4em 0;
    }

    .politica-ambiental::after {
        width: 300px;
        right: -150px;
        opacity: 0.4;
    }

    .politica-ambiental h2 {
        font-size: 1.5rem;
    }

    .politica-legenda {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .politica-lista {
        font-size: 16px;
        gap: 15px;
    }

    .footer {
        padding: 25px 20px;
    }

    .logo {
        font-size: 60px;
    }

    .footer-left p {
        font-size: 14px;
    }

    .footer-right h4 {
        font-size: 20px;
    }

    .footer-right p {
        font-size: 16px;
    }
}

@media screen and (max-width: 360px) {
    section h1 {
        font-size: 40px;
    }

    section h2 {
        font-size: 24px;
    }

    section #pVerde {
        font-size: 16px;
    }

    section p {
        font-size: 14px;
    }

    .minera1 article h4 {
        font-size: 20px;
    }

    .minera1 article p {
        font-size: 14px;
    }

    .acoes .titulo {
        font-size: 24px;
    }

    .acoes article .acao-item h4 {
        font-size: 16px;
    }

    .acoes article .acao-item p {
        font-size: 14px;
    }

    .politica-ambiental h2 {
        font-size: 1.3rem;
    }

    .politica-lista {
        font-size: 14px;
    }

    .logo {
        font-size: 50px;
    }
}