/* ==========================================================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================================================== */

:root {
    /* Paleta de Cores */
    --color-background: #ffffff;
    --color-surface: #f9fdfc;
    
    --color-border: #eaf0ed;
    
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #444;
    --color-text-light: #ffffff;

    --color-green-dark: #0a4d3c;
    --color-green-medium: #1a7a5e;
    --color-green-light: #a8e6cf;
    --color-green-accent: #32cd7a; 

    /* Layout */
    --content-max-width: 1200px;
}
  
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    cursor: none; /* Cursor customizado ativo */
}
  
html { scroll-behavior: smooth; }
  
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

main {
    position: relative;
    z-index: 2;
    overflow-x: hidden;
}

/* ==========================================================================
   2. CURSOR CUSTOMIZADO
   ========================================================================== */

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, opacity 0.15s ease-out, background-color 0.15s ease-out;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-green-medium);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-green-light);
    opacity: 0.7;
    transition-duration: 0.2s;
}

/* Estados de Hover do Cursor */
body.cursor-hover .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(168, 230, 207, 0.3);
    border-color: transparent;
}
body.cursor-hover .cursor-dot {
    opacity: 0;
}
/* Desativa cursor customizado em telas de toque */
@media (max-width: 992px) {
    * { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
}

/* ==========================================================================
   3. NAVEGAÇÃO (NAVBAR)
   ========================================================================== */

/* --- Desktop (Pílula no Topo) --- */
.desktop-nav-container {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
}
.desktop-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
}
.desktop-nav .nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95em;
    padding: 10px 15px;
    border-radius: 30px;
    position: relative;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
}
.desktop-nav .nav-links a:hover {
    color: var(--color-text-primary);
    background: var(--color-surface);
}
.desktop-nav .nav-links a.active {
    color: var(--color-green-dark);
    font-weight: 600;
    background: #e6f8f1;
}
.desktop-nav .nav-links a i { font-size: 1.1em; }
.desktop-nav .nav-links a span { display: block; line-height: 1; }

/* --- Mobile (FAB Expansível) --- */
.mobile-fab-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.fab-links {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.mobile-fab-nav.active .fab-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.fab-links a {
    text-decoration: none;
    color: var(--color-green-dark);
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    transition: all 0.2s ease;
}
.fab-links a.active {
    background: var(--color-green-medium);
    color: #fff;
}
.fab-toggle {
    background: var(--color-green-medium);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: 0 5px 20px rgba(10, 77, 60, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.mobile-fab-nav.active .fab-toggle {
    transform: rotate(45deg);
    background: var(--color-green-dark);
}

/* ==========================================================================
   4. SELETOR DE IDIOMA
   ========================================================================== */

.language-switcher {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 900;
}
.lang-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.lang-toggle img.lang-flag-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    width: 150px;
}
.language-switcher.active .lang-dropdown {
    display: block;
}
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.lang-dropdown a:hover {
    background-color: var(--color-surface);
    color: var(--color-green-dark);
}
.lang-flag-option {
    width: 22px; 
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; 
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
    margin-bottom: -10vh;
}
.video-background {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 77, 60, 0.35);
    z-index: -1;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    perspective: 1000px;
}
.hero-logo {
    max-width: 450px;
    width: 90%;
    margin-bottom: 25px;
    transition: transform 0.2s ease-out;
}
.hero-content .subtitle {
    font-size: clamp(1.2em, 3vw, 1.6em);
    color: var(--color-green-light);
    margin: 0;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-out;
}
.scroll-down {
    position: absolute;
    bottom: 15vh;
    font-size: 1.2em;
    color: var(--color-green-light);
    animation: bounce 2s infinite;
}
.scroll-down i { 
    font-size: 2em; 
    transform: rotate(90deg);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* --- Efeito de Digitação --- */
.typing-effect {
    width: 0; 
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 3px solid transparent;
    animation: typing 2.5s steps(120, end) 1.0s forwards, blink 900ms step-end 4.80 1.5s;
    display: inline-block; 
    vertical-align: bottom; 
}
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--color-green-light); }
}

/* ==========================================================================
   6. ESTILOS GERAIS DE SEÇÃO
   ========================================================================== */

.content-section {
    padding: clamp(60px, 8vw, 80px) 0;
    position: relative;
    z-index: 5;
}
.section-light-surface {
    background: var(--color-surface);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    padding-top: 15vh;
    padding-bottom: 15vh;
    margin-top: -5vh;
}
.section-dark-green {
    background: var(--color-green-dark);
    color: var(--color-text-light);
    padding: clamp(60px, 8vw, 80px) 0;
}
.section-title {
    font-size: clamp(2em, 5vw, 2.5em);
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}
.section-title.light {
    color: var(--color-green-light);
    border-bottom: 3px solid var(--color-green-light);
    padding-bottom: 15px;
    display: inline-block;
}
.section-title.dark {
    color: var(--color-green-dark);
    border-bottom: 3px solid var(--color-green-medium);
    padding-bottom: 15px;
    display: inline-block;
}
.title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

/* ==========================================================================
   7. SEÇÃO SOBRE (Missão, Visão, Valores)
   ========================================================================== */

.sobre-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.sobre-texto p {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Cards MVV (Missão, Visão, Valores) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0 40px 0;
}
.mvv-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border-left: 4px solid var(--color-green-accent); 
    transition: transform 0.3s ease;
}
.mvv-card:hover {
    transform: translateY(-5px);
}
.mvv-header {
    margin-bottom: 15px;
}
.mvv-header h4 {
    margin: 0;
    color: var(--color-green-dark);
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mvv-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}
/* Lista de valores limpa */
.values-list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}
.values-list-clean li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 0;
}

/* Cards de Navegação (Equipe/Projetos) */
.sobre-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    perspective: 1000px;
}
.sobre-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    text-decoration: none;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sobre-card:hover {
    transform: rotateX(5deg) rotateY(-10deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.sobre-card .card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
    transition: transform 0.4s ease;
}
.sobre-card:hover .card-bg {
    transform: scale(1.1);
}
.sobre-card::before { 
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 77, 60, 0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}
.sobre-card .card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.sobre-card .card-content i {
    font-size: 2.5em;
    color: var(--color-green-light);
    margin-bottom: 10px;
}
.sobre-card .card-content h3 {
    font-size: 1.8em;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.sobre-card .card-content p {
    font-size: 1.1em;
    font-weight: 300;
    color: var(--color-green-light);
}
.card-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    z-index: 4;
    transition: left 0.6s ease;
}
.sobre-card:hover .card-shine {
    left: 100%;
}

/* ==========================================================================
   8. SEÇÃO PARCEIROS
   ========================================================================== */

.partners-section {
    padding: 40px 0 60px 0;
    background-color: #f9f9f9; 
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.partners-title {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 600;
}
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.partner-logo {
    height: 80px; 
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(20%); 
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ==========================================================================
   9. SEÇÃO RISCO (Parallax)
   ========================================================================== */

.parallax-section#risco {
    padding: clamp(100px, 15vw, 150px) 0;
    background-image: url('../midia/40.png'); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; 
    position: relative;
    color: var(--color-text-light);
    z-index: 1;
    overflow: hidden;
}
.parallax-sf-layer {
    display: none; 
}
.parallax-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}
.parallax-content { 
    position: relative; 
    z-index: 4; 
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px; 
    min-height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-content-inner {
    max-width: 600px; 
    text-align: center; 
    position: relative; 
    transform: none !important; 
}
.parallax-content .sub-title {
    font-size: clamp(1.2em, 3vw, 1.5em);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    color: var(--color-green-light); 
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.parallax-content h3 {
    font-size: clamp(2.2em, 5vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: #fff; 
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.parallax-content p {
    font-size: clamp(1.1em, 3vw, 1.3em);
    font-weight: 300;
    color: #fff; 
}
.parallax-content p strong {
    color: var(--color-green-light); 
    font-weight: 600;
}

/* ==========================================================================
   10. SEÇÃO ESTRATÉGIA (Abordagem/Fluxograma)
   ========================================================================== */

.section-dark-green.abordagem-section {
    background: linear-gradient(135deg, var(--color-green-dark) 0%, #063a2e 100%);
    position: relative;
    overflow: hidden;
}
.abordagem-flow-wrapper {
    position: relative;
    padding: 40px 0;
}
.flow-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(168, 230, 207, 0.2);
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}
.flow-center-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--color-green-light) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: flow-data 3s linear infinite;
}
@keyframes flow-data {
    0% { background-position: 0% -100%; }
    100% { background-position: 0% 100%; }
}

.flow-node-wrapper {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 30px;
}
.flow-node-wrapper.align-left {
    left: 0;
    padding-left: 0;
    text-align: right;
}
.flow-node-wrapper.align-right {
    left: 50%;
    padding-right: 0;
    text-align: left;
}

.abordagem-card { 
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(168, 230, 207, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}
.flow-node-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: rgba(168, 230, 207, 0.3);
    transform: translateY(-50%);
}
.flow-node-wrapper.align-left::before { right: 40px; }
.flow-node-wrapper.align-right::before { left: 40px; }

.flow-node-wrapper.align-right .abordagem-card { flex-direction: row; }
.flow-node-wrapper.align-left .abordagem-card { flex-direction: row-reverse; }

.abordagem-card:hover {
    transform: scale(1.03);
    border-color: var(--color-green-light);
}

/* Ícones da Abordagem */
.card-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.icon-bg {
    position: absolute;
    font-size: 80px;
    color: var(--color-green-accent);
    opacity: 0.1;
    filter: blur(10px);
    transition: transform 0.4s ease;
}
.icon-main {
    position: relative;
    z-index: 2;
    font-size: 2.5em;
    color: var(--color-green-light);
    text-shadow: 0 0 15px rgba(168, 230, 207, 0.5);
    transition: transform 0.4s ease;
}
.abordagem-card:hover .icon-main { transform: scale(1.1) rotate(-5deg); }
.abordagem-card:hover .icon-bg { transform: scale(1.2) rotate(10deg); }

.abordagem-content { padding: 0; }
.abordagem-card h3 { 
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 8px; 
    color: #fff;
}
.abordagem-card p { 
    color: #cce9df;
    font-size: 1em;
    line-height: 1.6;
}

/* ==========================================================================
   11. SEÇÃO FOCO (Vetores)
   ========================================================================== */

.foco-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.foco-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.foco-item.reverse .foco-blob-wrapper { order: 2; }
.foco-item.reverse .foco-content { order: 1; text-align: right; }

.foco-blob-wrapper {
    position: relative;
    perspective: 1500px;
}
.foco-blob {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    animation: blob-morph 12s infinite alternate ease-in-out, blob-pulse 8s infinite alternate ease-in-out;
    transition: all 0.5s ease;
}
@keyframes blob-morph {
    0% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
    100% { border-radius: 30% 70% 60% 40% / 60% 40% 60% 40%; }
}
@keyframes blob-pulse {
    0% { transform: scale(1) rotate(0deg); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
    100% { transform: scale(1.03) rotate(2deg); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2); }
}

.foco-blob img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.15) translateX(0);
    animation: image-pan 20s infinite alternate ease-in-out;
}
@keyframes image-pan {
    0% { transform: scale(1.15) translate(0, 0); }
    100% { transform: scale(1.25) translate(-5%, 5%); }
}
.foco-item.reverse .foco-blob img {
    animation-name: image-pan-reverse;
}
@keyframes image-pan-reverse {
    0% { transform: scale(1.15) translate(0, 0); }
    100% { transform: scale(1.25) translate(5%, -5%); }
}

.foco-content { z-index: 2; }
.foco-content h3 { 
    font-size: 1.9em; 
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 15px;
}
.foco-content p { 
    font-size: 1.1em;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   12. SEÇÃO COMUNIDADES
   ========================================================================== */

.testimonial-overlap-layout {
    display: grid;
    grid-template-columns: 45% 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 80px;
    position: relative;
}
.testimonial-text-box {
    background: var(--color-green-dark);
    color: #fff;
    padding: clamp(30px, 5vw, 50px);
    border-radius: 15px;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0);
}
.text-box-shape {
    content: '';
    position: absolute;
    top: 50%; left: -20px;
    transform: translateY(-50%);
    width: 100px; height: 100px;
    background: var(--color-green-medium);
    opacity: 0.3;
    border-radius: 10px;
    z-index: -1;
}
.testimonial-text-box blockquote {
    font-size: clamp(1.4em, 3vw, 1.8em);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #fff;
}
.testimonial-text-box cite {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--color-green-light);
    font-style: normal;
    display: block;
    margin-bottom: 30px;
}
.testimonial-bg-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    grid-column: 2;
    transform: translateX(-10%);
}
.testimonial-bg-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.data-point {
    position: absolute;
    width: 25px; height: 25px;
    background: var(--color);
    border: 3px solid #fff;
    border-radius: 50%;
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    animation: pulseDataPoint 2s infinite ease-in-out; 
}
@keyframes pulseDataPoint {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Alinhamento Inverso (Direita) */
.testimonial-overlap-layout.align-right {
    grid-template-columns: 1fr 45%;
}
.testimonial-overlap-layout.align-right .testimonial-text-box {
    grid-column: 2; grid-row: 1;
}
.testimonial-overlap-layout.align-right .testimonial-bg-image {
    grid-column: 1; grid-row: 1;
    transform: translateX(10%);
}
.testimonial-overlap-layout.align-right .text-box-shape {
    left: auto; right: -20px;
}

/* ==========================================================================
   13. SEÇÃO VÍDEO VISÃO
   ========================================================================== */

.video-parallax-section {
    padding: clamp(150px, 20vw, 200px) 40px;
    position: relative;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}
.video-parallax-section video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

/* ==========================================================================
   14. CTA (Call to Action)
   ========================================================================== */

.cta-section-slanted {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    padding-top: 15vh;
    padding-bottom: 12vh;
    margin-top: -10vh; 
    position: relative;
    z-index: 4; 
}
.cta-content { 
    text-align: center; 
}
.cta-text-light {
    font-size: 1.1em; 
    color: var(--color-green-light); 
    opacity: 0.9;
    max-width: 600px; 
    margin: 0 auto 40px auto; 
}
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}
.cta-button {
    background: var(--color-green-accent); 
    color: var(--color-green-dark); 
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700; 
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
    border: 2px solid transparent;
}
.cta-button:hover { 
    background: var(--color-green-light); 
    color: var(--color-green-dark);
    transform: scale(1.05) translateY(-2px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.cta-button.cta-button-outline {
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-green-light);
}
.cta-button.cta-button-outline:hover {
    background: var(--color-green-light);
    color: var(--color-green-dark);
    border-color: var(--color-green-light);
}

/* ==========================================================================
   15. RODAPÉ
   ========================================================================== */

.main-footer {
    text-align: left; 
    padding: 80px 20px 0 20px; 
    border-top: 1px solid var(--color-border);
    background: var(--color-surface); 
    color: var(--color-text-secondary);
    font-size: 1em;
    padding-bottom: 0; 
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-col { padding: 0 10px; }
.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0.9;
}
.footer-col p {
    margin-bottom: 15px;
    line-height: 1.7;
}
.footer-col h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 20px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 40px; height: 2px;
    background: var(--color-green-medium);
}
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}
.footer-links a:hover {
    color: var(--color-green-medium);
    transform: translateX(5px);
    display: inline-block;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}
.footer-social a {
    width: 45px; height: 45px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-green-dark);
    font-size: 1.2em;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--color-green-medium);
    color: #fff;
    border-color: var(--color-green-medium);
    transform: scale(1.1) rotate(5deg);
}
.footer-bottom-bar {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    font-size: 0.95em;
    padding-bottom: 120px; 
}
.footer-bottom-bar p { margin: 0; }
.footer-bottom-bar strong { color: var(--color-green-dark); }

@media (min-width: 993px) {
    .main-footer { padding-bottom: 0; }
    .footer-bottom-bar { padding-bottom: 30px; }
}

/* ==========================================================================
   16. ANIMAÇÕES E EFEITOS DE SCROLL
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.fade-up { transform: translateY(50px); }
.animate-on-scroll.fade-left { transform: translateX(-50px); }
.animate-on-scroll.fade-right { transform: translateX(50px); }
.animate-on-scroll.zoom-in { transform: scale(0.9); }

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   17. MEDIA QUERIES (MOBILE GERAL)
   ========================================================================== */

@media (max-width: 992px) {
    
    /* Nav */
    .desktop-nav-container { display: none; }
    .mobile-fab-nav { display: block; }
    .language-switcher { top: 20px; right: 20px; }
    .lang-toggle { width: 45px; height: 45px; font-size: 1.5em; }
    .lang-dropdown { top: 55px; }
    
    /* Hero */
    .hero-section {
        height: 90vh;
        clip-path: ellipse(130% 100% at 50% 0%);
    }
    .hero-logo { max-width: 300px; }
    .hero-content .subtitle { font-size: 1.2em; }
    .scroll-down { bottom: 12vh; }

    /* Seções Gerais */
    .content-section { padding: 40px 0; }
    .section-light-surface {
        clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
        padding-top: 10vh;
        padding-bottom: 10vh;
    }
    
    /* Sobre Mobile */
    .sobre-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sobre-texto .title-wrapper { text-align: center; }
    .sobre-card { height: 180px; }
    .sobre-card:hover { transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .card-shine { display: none; }
    
    /* Parallax e Risco Mobile */
    .parallax-section, .video-parallax-section { 
        padding: 80px 25px; 
        background-attachment: scroll;
    }
    .parallax-section#risco .parallax-content {
        display: flex;
        align-items: center; 
        justify-content: flex-end; 
        text-align: right;
        padding: 0 25px;
        z-index: 5; 
    }
    .parallax-content-inner {
        max-width: 90%; 
        position: static; 
        transform: none !important;
        margin: 0;
        text-align: right; 
    }
    .parallax-section#risco .parallax-content h3,
    .parallax-section#risco .parallax-content p,
    .parallax-section#risco .parallax-content .sub-title {
        margin-left: auto; margin-right: 0;
    }

    /* Abordagem Mobile */
    .flow-center-line { display: none; }
    .flow-node-wrapper {
        width: 100%;
        max-width: 500px;
        left: 0;
        margin: 0 auto 30px auto;
        padding: 0;
        text-align: left;
    }
    .flow-node-wrapper.align-right { left: 0; }
    .flow-node-wrapper::before { display: none; }
    .flow-node-wrapper.align-left .abordagem-card,
    .flow-node-wrapper.align-right .abordagem-card {
        flex-direction: row; 
    }

    /* Foco Mobile */
    .foco-item {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .foco-item.reverse .foco-blob-wrapper,
    .foco-item .foco-blob-wrapper { order: 1; }
    .foco-item.reverse .foco-content,
    .foco-item .foco-content { order: 2; text-align: center; }
    .foco-blob { height: 300px; }

    /* Comunidades Mobile */
    .testimonial-overlap-layout,
    .testimonial-overlap-layout.align-right {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 40px;
    }
    .testimonial-bg-image,
    .testimonial-overlap-layout.align-right .testimonial-bg-image {
        grid-row: 1; grid-column: 1; transform: none;
    }
    .testimonial-bg-image img { height: 350px; }
    .testimonial-text-box,
    .testimonial-overlap-layout.align-right .testimonial-text-box {
        grid-row: 2; grid-column: 1;
        width: 90%;
        margin: -60px auto 0 auto;
        z-index: 5;
        padding: 30px;
    }
    .text-box-shape { display: none; }
    
    .main-footer { padding-bottom: 120px; }
}

/* Ajuste para telas muito pequenas (Mobile Small) */
@media (max-width: 500px) {
    .typing-effect {
        animation: none; 
        width: auto;
        white-space: normal;
        overflow: visible;
        border-right: none;
        opacity: 0;
        animation: fadeInSimple 1s ease 0.5s forwards;
    }
    @keyframes fadeInSimple {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}