/* ============================================
   ANIMAÇÕES AVANÇADAS - REDESIGN FUTURISTA
   ============================================ */

/* Animações de Entrada */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer Effects */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes shimmer-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Pulse Effects */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(129, 84, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(129, 84, 51, 0.5), 0 0 45px rgba(129, 84, 51, 0.3);
    }
}

/* Float Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0px);
    }
}

@keyframes float-smooth {
    0%, 100% {
        transform: translateY(0px);
    }
    33% {
        transform: translateY(-15px);
    }
    66% {
        transform: translateY(10px);
    }
}

/* Rotate */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Slide Animations */
@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Animations */
@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scale-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Glow Effects */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(129, 84, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(129, 84, 51, 0.5), 0 0 45px rgba(129, 84, 51, 0.3);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(129, 84, 51, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(129, 84, 51, 0.6));
    }
}

/* Progress Bar */
@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 7%;
    }
}

/* Mesh Gradient Movement */
@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, 5%) rotate(120deg);
    }
    66% {
        transform: translate(-5%, -5%) rotate(240deg);
    }
}

/* Grid Pulse */
@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

/* Orb Float */
@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Border Glow */
@keyframes borderGlow {
    0%, 100% {
        filter: blur(10px);
        opacity: 0.4;
    }
    50% {
        filter: blur(20px);
        opacity: 0.6;
    }
}

/* 3D Rotate */
@keyframes rotate3d {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

/* Magnetic Pull */
@keyframes magnetic-pull {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--magnetic-x, 0), var(--magnetic-y, 0));
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Cursor Trail */
@keyframes cursor-trail {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Particle Float */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
}

/* ============================================
   HEADER TECH ANIMATIONS
   ============================================ */

/* Scan Line Animation */
@keyframes scanLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Tech Grid Animation */
@keyframes techGrid {
    0% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(40px, 40px);
        opacity: 0.4;
    }
}

/* Data Stream Animation */
@keyframes dataStream {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
        box-shadow: 0 0 4px rgba(190, 165, 135, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(190, 165, 135, 0.8);
    }
}

/* Neon Glow Animation */
@keyframes neonGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 
            0 0 8px rgba(190, 165, 135, 0.4),
            0 0 16px rgba(190, 165, 135, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 
            0 0 12px rgba(190, 165, 135, 0.6),
            0 0 24px rgba(190, 165, 135, 0.4),
            0 0 36px rgba(190, 165, 135, 0.2);
    }
}

/* ============================================
   CLASSES DE ANIMAÇÃO
   ============================================ */
.animate-fade-up {
    animation: fade-up 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-smooth {
    animation: float-smooth 4s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 3s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

.animate-rotate-slow {
    animation: rotate-slow 30s linear infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-glow-pulse {
    animation: glow-pulse 2s ease-in-out infinite;
}

.animate-scale-in {
    animation: scale-in 0.5s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slide-in-left 0.6s ease-out forwards;
}

/* ============================================
   UTILITÁRIOS DE ANIMAÇÃO
   ============================================ */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="fade-up"].animated {
    animation: fade-up 0.6s ease-out forwards;
}

[data-animate="fade-in"] {
    opacity: 0;
}

[data-animate="fade-in"].animated {
    animation: fade-in 0.6s ease-out forwards;
}

[data-animate="scale-in"] {
    opacity: 0;
    transform: scale(0.9);
}

[data-animate="scale-in"].animated {
    animation: scale-in 0.5s ease-out forwards;
}

/* Delay Utilities */
[data-delay="100"] {
    animation-delay: 0.1s;
}

[data-delay="200"] {
    animation-delay: 0.2s;
}

[data-delay="300"] {
    animation-delay: 0.3s;
}

[data-delay="400"] {
    animation-delay: 0.4s;
}

[data-delay="500"] {
    animation-delay: 0.5s;
}

[data-delay="600"] {
    animation-delay: 0.6s;
}

/* Performance Optimizations */
.will-animate {
    will-change: transform, opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== Glassmorphism + Neo (Depoimentos/Mentores) ===== */
:root{
    --lsm-glass-bg: rgba(255,255,255,0.06);
    --lsm-glass-bg-strong: rgba(255,255,255,0.12);
    --lsm-glass-border: rgba(255,255,255,0.18);
    --lsm-glass-blur: 16px;
    --lsm-neo-shadow-out: 0 6px 22px rgba(0,0,0,0.25);
    --lsm-neo-shadow-in: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.2);
    --lsm-accent: #815433;
    --lsm-accent-2: #bea587;
}

/* Brand palette adjusted to marrom/caramelo */
:root{
    --brand-blue: #815433;
    --brand-blue-20: rgba(129,84,51,.20);
    --brand-blue-28: rgba(129,84,51,.28);
    --brand-blue-35: rgba(129,84,51,.35);
}

.card-glass-neo{
    background: var(--lsm-glass-bg);
    border: 1px solid var(--lsm-glass-border);
    backdrop-filter: blur(var(--lsm-glass-blur));
    -webkit-backdrop-filter: blur(var(--lsm-glass-blur));
    border-radius: 20px;
    box-shadow: var(--lsm-neo-shadow-out), var(--lsm-neo-shadow-in);
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
    position: relative;
}
.card-glass-neo:hover{
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), var(--lsm-neo-shadow-in);
}
.avatar-glass{
    background: var(--lsm-glass-bg-strong);
    border: 1px solid var(--lsm-glass-border);
    backdrop-filter: blur(10px);
    border-radius: 999px;
}

/* Depoimentos */
.depoimentos-glass .depoimentos-header{ text-align:center; margin-bottom:28px; }
.depoimentos-grid{ position:relative; }
.depoimentos-grid .dep-prev,
.depoimentos-grid .dep-next{
    position:absolute; top:50%; transform:translateY(-50%); z-index:2;
    width:40px; height:40px; border-radius:999px;
    border:1px solid var(--lsm-glass-border); background:var(--lsm-glass-bg);
    backdrop-filter: blur(10px); display:inline-flex; align-items:center; justify-content:center;
}
.depoimentos-grid .dep-prev{ left:-6px; }
.depoimentos-grid .dep-next{ right:-6px; }
.dep-viewport{ overflow:hidden; outline:none; }
.dep-track{
    display:grid; grid-auto-flow:column; grid-auto-columns:minmax(100%,1fr);
    gap:16px; will-change:transform; transition: transform 500ms cubic-bezier(.16,1,.3,1);
}
@media (min-width:768px){ .dep-track{ grid-auto-columns:minmax(50%,1fr); } }
@media (min-width:1024px){ .dep-track{ grid-auto-columns:minmax(33.3333%,1fr); } }
.dep-item{ padding:20px; }
.dep-stars-grad svg{ color:var(--lsm-accent); opacity:.9; }
.depoimento-text{ line-height:1.6; margin:12px 0 10px 0; max-height:72px; overflow:hidden; }
.depoimento-expand{
    appearance:none; border:0; background:transparent; color:var(--lsm-accent-2);
    font-weight:600; cursor:pointer; padding:0;
}
.depoimento-author{
    display:grid; grid-template-columns:40px 1fr; gap:10px; align-items:center; margin-top:12px;
}
.depoimento-avatar{ width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; font-weight:700; }
.dep-dots{ display:flex; justify-content:center; gap:8px; margin-top:14px; }
.dep-dot{ width:8px; height:8px; border-radius:999px; background:rgba(255,255,255,0.25); border:1px solid var(--lsm-glass-border); }
.dep-dot.active{ background:var(--lsm-accent); border-color:transparent; }
.dep-emoji-reactions{ position:absolute; pointer-events:none; }

/* Mentores */
.mentores-glass .mentor-card{ overflow:hidden; }
.mentores-grid{ gap:16px; }
.mentores-section .transformation-icon-wrapper .transformation-icon{ color:var(--accent-primary); }
.mentor-card-evid{
    display:flex; flex-direction:column;
}
.mentor-card-evid .mentor-card-inner{ margin-top:8px; }
.mentor-tabs{
    display:inline-flex; gap:8px; margin-top:12px; border-radius:12px;
    background: rgba(255,255,255,0.04); padding:6px; border:1px solid var(--lsm-glass-border);
}
.mentor-tab{
    appearance:none; border:0; background:transparent; color:rgba(255,255,255,0.8);
    padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:600;
}
.mentor-tab.active{
    background: var(--lsm-glass-bg-strong);
    border:1px solid var(--lsm-glass-border);
    color:#fff;
}
.mentor-panels{ margin-top:12px; }
.mentor-panel{ display:none; }
.mentor-panel.active{ display:block; }
.mentor-link-cta{
    display:inline-flex; padding:10px 14px; border-radius:12px; background:var(--lsm-accent);
    color:#fff; font-weight:700; border:0; text-decoration:none;
}

/* Generic blue-accent hover for glass cards */
.card-glass-neo:hover{
    border-color: var(--brand-blue-28);
    box-shadow: 0 14px 36px rgba(129,84,51,.22), var(--lsm-neo-shadow-in);
}

/* ===== Evidências (grid 2xN, visual leve com azul/verde) ===== */
.evidencias-section{ 
    padding:72px 0; 
    --evi-blue:var(--accent-primary);
    --evi-surface: rgba(255,255,255,0.06);
    --evi-surface-strong: rgba(255,255,255,0.12);
}
.evidencias-header{ text-align:center; margin-bottom:32px; }
.evidencias-title{ font-weight:800; font-size:clamp(22px,2.4vw,32px); }
.evidencias-subtitle{ opacity:.85; margin-top:8px; }
.evidencias-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:24px;
}
@media (min-width:768px){
    .evidencias-grid{ grid-template-columns: repeat(2, 1fr); }
}
.evidencia-card{ 
    position:relative;
    padding:22px; 
    display:flex; 
    flex-direction:column; 
    min-height:240px; 
    border-radius:18px;
    background:
        linear-gradient(180deg, rgba(129,84,51,0.10), rgba(129,84,51,0.04)),
        var(--lsm-glass-bg);
    border:1px solid var(--lsm-glass-border);
    backdrop-filter: blur(var(--lsm-glass-blur));
    -webkit-backdrop-filter: blur(var(--lsm-glass-blur));
    box-shadow: var(--lsm-neo-shadow-out), var(--lsm-neo-shadow-in);
    overflow:hidden;
}
.evidencia-card::before{
    content:'';
    position:absolute; inset:auto -20% 0 -20%; height:120px;
    background: radial-gradient(60% 120% at 50% 100%, rgba(129,84,51,0.18), transparent 70%);
    pointer-events:none;
}
.evidencia-top{ display:flex; align-items:center; justify-content:space-between; }
.evidencia-badge{
    display:inline-flex; align-items:center; gap:6px; padding:6px 10px;
    border-radius:12px; font-weight:800; font-size:12px; letter-spacing:.2px;
    background: linear-gradient(90deg, var(--brand-blue-28), var(--brand-blue-20));
    border:1px solid var(--brand-blue-28);
    color:#fff;
}
.evidencia-badge.sucesso{
    background: linear-gradient(90deg, rgba(129,84,51,0.28), var(--brand-blue-20));
    border-color: rgba(129,84,51,0.34);
}
.evidencia-icon{ color: var(--accent-primary); opacity:.95; }
.evidencia-heading{ margin:16px 0 8px 0; font-size:17px; font-weight:800; }
.evidencia-text{ opacity:.92; line-height:1.7; }
.evidencia-footer{
    margin-top:auto; display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:center;
}
.evidencia-avatar{ width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; font-weight:800; }
.evidencia-meta .evidencia-name{ font-weight:800; }
.evidencia-meta .evidencia-role{ opacity:.85; font-size:12px; }

/* Hover sutil e “respiro” */
.evidencia-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 42px var(--brand-blue-20), var(--lsm-neo-shadow-in);
    border-color: rgba(129,84,51,0.45);
}

/* ===== Evidências reutilizando Transformation Cards (estética idêntica) ===== */
.evid-card{
    display:flex; flex-direction:column; min-height:240px;
}
.evid-stars{
    color: var(--accent-primary); opacity:.95; font-weight:800; letter-spacing:1px;
    margin-top:12px;
}
.evid-quote{
    margin:10px 0 12px 0; line-height:1.6; opacity:.95;
}
.evid-signature{
    margin-top:auto; display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:center;
}
.evid-avatar{ 
    width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; font-weight:800; 
    background: var(--evi-surface-strong, rgba(255,255,255,0.12));
}
.evid-name{ font-weight:800; }
.evid-role{ opacity:.85; font-size:12px; }

/* Shimmer azul dedicado dentro das evidências */
.evid-card .transformation-shimmer{
    background: linear-gradient(90deg, rgba(129,84,51,0.0) 0%, var(--brand-blue-35) 50%, rgba(129,84,51,0.0) 100%);
}

/* Global: acento azul em ícones/tabs/dots onde fizer sentido */
.transformation-icon{ color: var(--accent-primary); }
.transformation-icon-wrapper .transformation-shimmer{
    background: linear-gradient(90deg, rgba(129,84,51,0), var(--brand-blue-35), rgba(129,84,51,0));
}
.dep-dot.active{ background: var(--accent-primary); border-color: transparent; }
.mentor-tab.active{
    background: var(--brand-blue-20);
    border-color: var(--brand-blue-28);
    color:#fff;
}

/* Evidências: garantir que os ícones estejam sempre visíveis, sem depender de hover */
.evidencias-section .transformation-icon,
.evidencias-section .transformation-icon-wrapper,
.evidencias-section .transformation-shimmer {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}
.evidencias-section .transformation-icon {
    transform: none;
}

/* ===== Refresh leve em seções (ganhos, acordeões, comunidade, garantia, formulário) ===== */
/* Cards genéricos com acento azul e sombra suave */
.card-primary, .card-secondary, .card-tertiary{
    border: 1px solid rgba(129,84,51,.18);
    box-shadow: 0 8px 26px rgba(0,0,0,.18);
    transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.card-primary:hover, .card-secondary:hover, .card-tertiary:hover{
    transform: translateY(-4px);
    border-color: rgba(129,84,51,.28);
    box-shadow: 0 14px 36px rgba(129,84,51,.18), 0 6px 22px rgba(0,0,0,.18);
}

/* Ícones globais com acento azul (fora do header/hero) */
.ganhos-section svg, .video-pain-cards svg, .faq-icon{
    color:var(--accent-primary);
}

/* Acordeões com acento azul ao abrir */
.accordion-item.card-glass-neon[open],
.accordion-item .accordion-button[aria-expanded="true"]{
    border-color: rgba(129,84,51,.28);
    box-shadow: 0 10px 28px rgba(129,84,51,.14);
}

/* Botão secundário discreto com azul premium */
.btn-secondary{
    border:1px solid rgba(129,84,51,.35);
    color:var(--accent-primary);
    background: transparent;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-secondary:hover{
    background: rgba(129,84,51,.08);
    box-shadow: 0 10px 28px rgba(129,84,51,.18);
    transform: translateY(-2px);
}

/* Foco do formulário consistente em azul */
.form input:focus, .form select:focus, .form textarea:focus{
    border-color: rgba(129,84,51,.45);
    box-shadow: 0 0 0 3px rgba(129,84,51,.15);
    outline: none;
}
