   /* =========================================
   1. VARIÁVEIS E GERAL
   ========================================= */
:root {
    --roxo-header: #8c52ff;
    --verde-topo: #23b892;
    --verde-claro: #4CAF50;
    --rosa: #d65db1;
    --roxo: #9b51e0;
    --amarelo: #f2c94c;
    --azul: #2f80ed;
    --vermelho: #eb5757;
    --branco: #ffffff;
    --cinza-texto: #555;
    --bg-steam-cinza: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Garante que o padding não quebre a largura total */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--cinza-texto);
    overflow-x: hidden;
    background-color: #fdfdfd;
    background-image:
        radial-gradient(#23b892 0.5px, transparent 0.5px),
        url('https://www.transparenttextures.com/patterns/leaf.png');
    background-size: 20px 20px, auto;
    background-blend-mode: multiply;
    padding-top: 120px;
}

/* =========================================
   2. TIPOGRAFIA GERAL E PROPORÇÕES (Base 16px)
   ========================================= */
p, p[style] {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

h2, h2[style] {
    font-size: 36px !important;
    margin-bottom: 20px;
    color: var(--roxo-header);
    position: relative;
    z-index: 5;
    line-height: 1.2;
}
h2 span { color: var(--verde-topo); }

/* =========================================
   3. O "RESPIRO" INTELIGENTE (1366px e 1920px)
   Aplica um respiro lateral seguro para telas grandes,
   sem quebrar flexbox ou imagens absolutas.
   ========================================= */
section, .main-header, .main-footer {
    padding-left: max(5%, calc(50% - 600px)) !important;
    padding-right: max(5%, calc(50% - 600px)) !important;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 100vw;
    position: relative;
    scroll-margin-top: 130px;
}

/* --- ONDAS FLUIDAS (WAVES) --- */
.wave-bottom-container {
    position: absolute;
    bottom: -42px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
    transform: rotate(180deg);
}

.wave-svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Posicionamento da Assinatura */
.assinatura-decorativa {
    position: absolute;
    left: max(1%, calc(40% - 600px)); /* Acompanha o respiro lateral */
    bottom: 20px;
    width: 100px;
    z-index: 1;
    pointer-events: none;
}
.assinatura-decorativa img { width: 100%; height: auto; opacity: 0.8; }

/* =========================================
   4. HEADER E NAVEGAÇÃO
   ========================================= */
.main-header {
    background-color: var(--roxo-header);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    width: 100%;
    gap: 30px;
    align-items: center;
}

.logo-container { flex-shrink: 0; }
.logo-img { height: 100px; display: block; object-fit: contain; } /* Logo ajustado proporcionalmente */

.nav-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 5px;
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}





.social-icons { display: flex; gap: 12px; align-items: center; }
.icon-link { display: flex; align-items: center; justify-content: center; transition: transform 0.2s, opacity 0.2s; }
.icon-link svg { width: 20px; height: 20px; fill: white; }
.icon-link:hover { transform: scale(1.1); opacity: 0.9; }

.btn-virtual {
    background-color: #ffde59;
    color: var(--roxo-header);
    border: none;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-virtual svg.btn-icon { width: 16px; height: 16px; stroke: var(--roxo-header); fill: none; }
.btn-virtual:hover { transform: scale(1.05); }
.nav-divider { border: none; border-top: 1px solid white; margin: 0 0 12px 0; width: 100%; opacity: 0.8; }
.bottom-nav { display: flex; justify-content: flex-start; align-items: center; }
.nav-links { display: flex; gap: 12px; list-style: none; align-items: center; }
.nav-links a {
    color: white;
    background: transparent;
    border: 1.5px solid white;
    padding: 6px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background-color: white; color: var(--roxo-header); }
.mobile-extras { display: none; }
.hamburger { display: none; cursor: pointer; background: none; border: none; flex-direction: column; gap: 5px; z-index: 1001; margin-left: auto; }
.bar { width: 25px; height: 3px; background-color: white; transition: all 0.3s ease; border-radius: 2px; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================
   5. HERO SLIDER
   ========================================= */
#hero { padding: 0 !important; position: relative; } /* Remove respiro interno no slider */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: #000; display: grid; }
.slide { grid-area: 1 / 1; width: 100%; opacity: 0; visibility: hidden; transition: opacity 1s ease-in-out, visibility 1s; z-index: 1; }
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide img { width: 100%; height: auto; display: block; object-fit: contain; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgb(0 0 0 / 0%); color: white; border: none; padding: 15px; cursor: pointer; font-size: 2rem; border-radius: 50%; z-index: 10; }
.prev { left: 20px; }
.next { right: 20px; }

/* =========================================
   6. SEÇÃO O ECOAR
   ========================================= */
.flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.text-content { flex: 1; padding-right: 40px; } /* Ajustado de 230px para ficar harmonioso com texto 16px */
.media-content { flex: 1; display: flex; justify-content: center; }

.blob-video {
    width: 100%;
    max-width: 600px;
    height: 380px;
    background: #000;
    border-radius: 20px 175px 175px 20px;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s;
}
.blob-video:hover { transform: scale(1.02) translateZ(0); }
.blob-video video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px 175px 175px 20px; }

.organic-bg { position: absolute; z-index: 0; filter: blur(80px); border-radius: 50%; pointer-events: none; }
.blob-verde { width: 500px; height: 500px; background: rgba(76, 175, 80, 0.2); top: -100px; left: -100px; }
.blob-rosa { width: 600px; height: 600px; background: rgba(214, 93, 177, 0.15); bottom: -100px; right: -150px; }
.blob-azul { width: 600px; height: 500px; background: rgba(47, 128, 237, 0.15); top: 10%; right: -100px; }

/* =========================================
   7. SEÇÃO PARA QUEM
   ========================================= */
#para-quem { background: url('images/background/bg-para-quem.png') no-repeat right bottom; background-size: cover; z-index: 5; }

.pq-main-title { font-size: 38px !important; font-weight: 800; margin-bottom: 40px; line-height: 1.2; text-align: left; }
.pq-purple { color: #8c52ff; }
.pq-green { color: #23b892; }

.pq-content-wrapper { display: flex; align-items: flex-start; justify-content: space-between; gap: 2%; width: 100%; }
.pq-columns { display: flex; gap: 30px; flex: 3; z-index: 2; }
.pq-column { flex: 1; display: flex; flex-direction: column; }

.pq-col-heading { font-size: 20px !important; font-weight: 500; font-style: italic; color: #7a7a7a; margin-bottom: 15px; line-height: 1; }

.pq-shape {
    padding-left: 5px;
    width: 75%;
    height: 100%;
    border-radius: 0 90px 0 90px;
    padding: 36px 0px 35px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pq-shape-green { background-color: #2ec28c; }
.pq-shape-pink { background-color: #be4d9c; }
.pq-shape-yellow { background-color: #fade4b; }

.pq-pill {
    width: 120%;
    margin-left: 10px;
    padding: 15px 20px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    transition: transform 0.3s;
}
.pq-pill-dark-green { background-color: #1b6e4e; }
.pq-pill-dark-pink { background-color: #8d2d71; }
.pq-pill-dark-yellow { background-color: #a78f2d; }

.pq-pill-bold { font-weight: 800; font-size: 16px !important; line-height: 1.2; }
.pq-pill-light { font-weight: 400; font-size: 14px !important; margin-top: 5px; }

.pq-media-right {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: -60px; /* Ajustado proporcionalmente à redução da fonte */
    z-index: 10;
}
.pq-media-right img { width: 130%; max-width: 320px; object-fit: contain; filter: drop-shadow(15px 15px 30px rgba(0,0,0,0.2)); }

/* =========================================
   8. SEÇÃO STEAM
   ========================================= */
#steam { background-color: transparent; display: block; padding-bottom: 120px; }

.steam-new-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; margin-top: 20px; position: relative; z-index: 5; }
.steam-col-img { flex: 1.5; height: 450px; position: relative; }
.steam-img-frame { width: 110%; height: 100%; overflow: hidden; }

.steam-img-frame img { width: 100%; height: 100%; object-fit: inherit; object-position: left; }

.steam-col-nav { flex: 0.5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
.steam-leaf-btn {
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800;
    color: white; background-color: #23b892; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px 0px 15px 0px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); border: none;
}
.steam-leaf-btn:hover { transform: scale(1.1); }
.steam-leaf-btn.active[data-letter="S"], .steam-leaf-btn.active[data-letter="M"] { background-color: #8c52ff; transform: scale(1.15); }
.steam-leaf-btn.active[data-letter="T"], .steam-leaf-btn.active[data-letter="A"] { background-color: #d957ad; transform: scale(1.15); }
.steam-leaf-btn.active[data-letter="E"] { background-color: #ffde59; transform: scale(1.15); }

.steam-col-content { flex: 1.8; padding-left: 20px; display: flex; flex-direction: column; justify-content: center; }
.steam-content-item { display: none; animation: fadeInRight 0.5s ease forwards; }
.steam-content-item.active { display: block; }
.steam-sub-en { font-family: 'Montserrat', cursive; font-style: italic; font-size: 18px; margin-bottom: 5px; opacity: 0.8; }
.steam-main-title-display { font-size: 32px !important; font-weight: 800; line-height: 1; margin-bottom: 15px; }
.steam-desc-text { font-size: 16px !important; line-height: 1.6; color: #737373; max-width: 100%; }

.steam-content-item[data-target="S"] .steam-main-title-display, .steam-content-item[data-target="S"] .steam-sub-en, .steam-content-item[data-target="M"] .steam-main-title-display, .steam-content-item[data-target="M"] .steam-sub-en { color: #8c52ff; }
.steam-content-item[data-target="T"] .steam-main-title-display, .steam-content-item[data-target="T"] .steam-sub-en, .steam-content-item[data-target="A"] .steam-main-title-display, .steam-content-item[data-target="A"] .steam-sub-en { color: #d957ad; }
.steam-content-item[data-target="E"] .steam-main-title-display, .steam-content-item[data-target="E"] .steam-sub-en { color: #ffde59; }

@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================
   9. SEÇÃO IMPACTO
   ========================================= */
.header-impacto-flex { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 30px; }
.img-final-linha { max-height: 60px; width: auto; object-fit: contain; }

#impacto { background-color: transparent; padding-bottom: 100px; }

.grid-impacto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; margin-top: 30px; position: relative; z-index: 2; }
.card-impacto {
    height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px; color: white; cursor: pointer; position: relative; overflow: hidden;
    transition: background-color 0.3s ease;
}
.card-impacto:hover { z-index: 2; }
.bg-roxo { background-color: #8c52ff; }
.bg-amarelo { background-color: #ffde59; }
.bg-rosa { background-color: #d957ad; }
.bg-verde { background-color: #23b892; }
.bg-rosa-escuro { background-color: #d957ad; }
.bg-verde-escuro { background-color: #23b892; }
.bg-azul { background-color: #8c52ff; }
.bg-amarelo-escuro { background-color: #ffde59; }

.card-impacto h4 { font-size: 16px; margin-top: 10px; font-weight: 700; line-height: 1.3; }
.icon-impacto { font-size: 3rem; margin-bottom: 10px; text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.icon-impacto img { max-height: 50px; }

.card-impacto .front { display: flex; flex-direction: column; align-items: center; width: 100%; }
.card-impacto .back { display: none; font-size: 14px; line-height: 1.5; font-weight: 500; animation: fadeIn 0.4s ease; }
.card-impacto.flipped .front { display: none; }
.card-impacto.flipped .back { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   10. SEÇÃO TERRA DA GENTE
   ========================================= */
#terra { position: relative; padding-bottom: 80px; overflow: hidden; background-color: transparent; display: block; }
.terra-content { z-index: 2; }

/* =========================================
   11. FOOTER
   ========================================= */
.main-footer {
    background-color: var(--roxo-header);
    padding-top: 25px;
    padding-bottom: 25px;
    color: var(--branco);
    position: relative;
    z-index: 10;
}
.footer-logo-img {max-width: 180px; height: auto; display: block;}
.footer-content { display: flex; width: 100%; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo h3 { font-size: 24px; margin: 0; line-height: 1; font-weight: 300; color: var(--branco); }
.footer-logo h3 strong { font-weight: 800; font-style: italic; }
.footer-logo .logo-sub { font-size: 11px; letter-spacing: 1px; margin-top: 4px; font-weight: 500; }
.footer-copyright { font-size: 14px; text-align: center; flex: 1; font-weight: 500; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--branco); text-decoration: none; font-size: 14px; font-weight: 700; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 0.8; text-decoration: underline; }

/* =========================================
   12. RESPONSIVIDADE
   ========================================= */
@media (min-width: 1025px) {
    .card-impacto:hover .front { display: none; }
    .card-impacto:hover .back { display: block; }
}

@media (max-width: 1024px) {
    .main-header { padding-top: 15px; padding-bottom: 15px; }
    .logo-img { height: 80px; }
    .nav-links { gap: 8px; }
    .nav-links a { padding: 6px 12px; font-size: 13px; }

    .pq-content-wrapper { flex-direction: column; }
    .pq-columns { width: 100%; gap: 30px; flex-direction: column; }
    .pq-column { width: 100%; }
    .pq-shape { width: 85%; border-radius: 0 60px 0 60px; }
    .pq-pill { width: 95%; }
    .pq-media-right { margin-top: 20px; justify-content: center; }

    .grid-impacto { grid-template-columns: repeat(2, 1fr); }
    .steam-new-wrapper { flex-direction: column; }
    .steam-col-img { height: 300px; width: 100%; }
    .steam-img-frame { border-radius: 20px; }
    .steam-col-nav { flex-direction: row; margin: 20px 0; }
    .steam-leaf-btn { width: 50px; height: 50px; font-size: 20px; }
    .steam-col-content { padding-left: 0; text-align: center; }
}

@media (max-width: 900px) {
    .footer-content { flex-direction: column; text-align: center; gap: 15px; }
    .footer-logo { align-items: center; }
    .footer-copyright { order: 3; margin-top: 10px; }
}

@media (max-width: 768px) {
    .footer-logo-img { max-width: 140px; }
    .assinatura-decorativa { width: 120px; bottom: 10px; }
    .header-content { justify-content: space-between; }
    .logo-img { height: 60px; }
    .nav-container { flex-grow: 0; justify-content: center; padding-top: 0; }
    .top-nav, .nav-divider { display: none; }
    .bottom-nav { justify-content: flex-end; width: 100%; }
    .hamburger { display: flex; }

    .nav-links {
        position: fixed; top: 0; left: 0; height: 100vh; width: 100vw;
        background: var(--roxo-header); flex-direction: column;
        justify-content: center; align-items: center;
        transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000; padding-top: 60px; padding-bottom: 40px; overflow-y: auto;
    }

    .nav-links.active { transform: translateX(0); padding-top: 60px; }
    .nav-links li { width: 100%; text-align: center; margin-bottom: 15px; opacity: 0; transform: translateY(20px); transition: 0.3s; }
    .nav-links.active li { opacity: 1; transform: translateY(0); }
    .nav-links a { font-size: 18px; padding: 15px; width: 80%; display: inline-block; background: rgba(255, 255, 255, 0.1); color: white; border: 1.5px solid rgba(255, 255, 255, 0.4); }
    .nav-links a.active, .nav-links a:hover { background: white; color: var(--roxo-header); transform: scale(1.05); }

    .mobile-extras {
        display: flex !important; flex-direction: column; align-items: center; gap: 25px;
        width: 100%; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    .mobile-extras .social-icons { display: flex; gap: 30px; justify-content: center; }
    .mobile-extras .icon-link svg { width: 36px; height: 36px; fill: white; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); }
    .mobile-extras .btn-virtual { margin-top: 15px; padding: 12px 25px; font-size: 16px; background-color: #ffde59; color: var(--roxo-header); }
    .mobile-extras .btn-virtual svg { stroke: var(--roxo-header); }

    .flex-container { flex-direction: column; }
    .text-content { padding-right: 0; }
    
    /* Fix para o bloco Terra da Gente no Mobile */
    #terra > div[style*="display: flex"] { flex-direction: column !important; gap: 30px !important; text-align: center; }
    #terra > div[style*="display: flex"] > div { width: 100% !important; display: flex; flex-direction: column; align-items: center; }
    #terra img[alt="Terra da Gente"] { width: 100% !important; max-width: 350px; transform: none !important; }
    
    .hero-slider { max-height: none; }
    .slide img { max-height: 300px; object-fit: contain; object-position: center center; }
    .arrow { padding: 8px 12px; font-size: 1.2rem; }
    .prev { left: 8px; }
    .next { right: 8px; }
    .header-impacto-flex { flex-direction: column; text-align: center; }
    .img-final-linha { margin-top: 15px; }
}

@media (max-width: 600px) {
    .grid-impacto { grid-template-columns: 1fr; }
}