/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #EAE0D5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

strong {
    font-weight: 600;
    color: #6D462D;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.95);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    z-index: 2200;
    padding: 0.3rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(175, 92, 40, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgb(175 92 40) 50%,
            transparent 100%);
    animation: headerGlow 4s ease-in-out infinite;
}

@keyframes headerGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    position: relative;

    & img {
        width: 60px;
        height: auto;
        margin-left: 10px;
        transition: opacity 1.3s ease;
    }

    .logo-dark {
        position: absolute;
        top: 0;
        opacity: 0;
        pointer-events: none;
    }

    .logo-light {
        opacity: 1;
    }
}

/* Navigation Enhancements */
.nav-links {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    list-style: none;
}

.nav-links a {
    color: #EAE0D5;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    margin-bottom: 50px;
}

.nav-links a:hover {
    opacity: 1;
}

/* Link ativo - página atual */
.nav-links a.active {
    color: #6E4228 !important;
    opacity: 1;
    position: relative;
    font-weight: 600;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 6px;
    padding: 8px 16px;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #6E4228;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
    from {
        box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    }

    to {
        box-shadow: 0 0 15px rgba(243, 156, 18, 0.8);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #EAE0D5;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Toggle to X */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

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



.btn-app {
    background: linear-gradient(135deg, #683E23 0%, #6E4429 50%, #8B5A3C 100%);
    color: #EAE0D5;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin-right: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(104, 62, 35, 0.2);
}

.btn-app::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-app:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(104, 62, 35, 0.4), 0 0 15px rgba(175, 92, 40, 0.2);
    background: linear-gradient(135deg, #8B5A3C 0%, #6D462D 50%, #C7824E 100%);
}

.btn-app:hover::before {
    width: 200px;
    height: 200px;
}

.btn-app:active {
    transform: translateY(0);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #EAE0D5;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg,
            rgba(16, 16, 16, 0.95) 0%,
            rgba(40, 30, 22, 0.9) 25%,
            rgba(50, 35, 25, 0.85) 50%,
            rgba(25, 25, 25, 0.95) 75%,
            rgba(16, 16, 16, 1) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(80, 50, 25, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(60, 35, 20, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(70, 45, 30, 0.05) 0%, transparent 60%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 0%, rgba(60, 40, 25, 0.1) 50%, transparent 100%),
        linear-gradient(-45deg, rgba(80, 50, 30, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at top left, rgba(65, 40, 28, 0.12) 0%, transparent 50%);
    animation: heroBackground 25s ease-in-out infinite;
    z-index: 2;
}

@keyframes heroBackground {

    0%,
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }

    33% {
        transform: translateX(10px) translateY(-5px) scale(1.02);
    }

    66% {
        transform: translateX(-5px) translateY(8px) scale(0.98);
    }
}

/* Decorative Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 380px;
    height: 380px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(104, 62, 35, 0.4) 0%, rgba(175, 92, 40, 0.2) 50%, transparent 100%);
    animation-delay: -5s;
}

.orb-2 {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -140px;
    background: radial-gradient(circle, rgba(139, 90, 60, 0.3) 0%, rgba(104, 62, 35, 0.15) 50%, transparent 100%);
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    right: 20%;
    bottom: 20%;
    background: radial-gradient(circle, rgba(175, 92, 40, 0.2) 0%, rgba(104, 62, 35, 0.1) 50%, transparent 100%);
    animation-delay: -15s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-15px, 25px) scale(0.9);
    }

    75% {
        transform: translate(30px, 10px) scale(1.05);
    }
}

/* Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(234, 224, 213, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(odd) {
    background: rgba(175, 92, 40, 0.4);
    animation-duration: 18s;
}

.particle:nth-child(3n) {
    background: rgba(104, 62, 35, 0.5);
    animation-duration: 12s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(0);
    }
}

/* Geometric Patterns */
.hero-geometry {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.15;
}

/* Connected dots pattern */
.geometric-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(175, 92, 40, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(104, 62, 35, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 50% 20%, rgba(139, 90, 60, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(175, 92, 40, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 150px 150px;
    animation: dotsMove 30s linear infinite;
}

@keyframes dotsMove {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%;
    }
}

/* Triangular mesh */
.geometric-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(60deg, transparent 40%, rgba(175, 92, 40, 0.05) 41%, rgba(175, 92, 40, 0.05) 43%, transparent 44%),
        linear-gradient(120deg, transparent 40%, rgba(104, 62, 35, 0.04) 41%, rgba(104, 62, 35, 0.04) 43%, transparent 44%),
        linear-gradient(180deg, transparent 40%, rgba(139, 90, 60, 0.03) 41%, rgba(139, 90, 60, 0.03) 43%, transparent 44%);
    background-size: 200px 200px, 180px 180px, 220px 220px;
    animation: meshShift 25s ease-in-out infinite;
}

@keyframes meshShift {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    33% {
        transform: translateX(20px) translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateX(-15px) translateY(15px) rotate(-1deg);
    }
}

/* Circular pattern */
.geometric-circles {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background:
        radial-gradient(circle at 50% 50%, rgba(175, 92, 40, 0.1) 20%, transparent 21%),
        radial-gradient(circle at 25% 25%, rgba(104, 62, 35, 0.08) 15%, transparent 16%),
        radial-gradient(circle at 75% 75%, rgba(139, 90, 60, 0.06) 18%, transparent 19%);
    background-size: 60px 60px, 40px 40px, 50px 50px;
    border-radius: 50%;
    animation: circleSpin 20s linear infinite;
}

@keyframes circleSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Circuit-like lines */
.geometric-circuit {
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 150px;
    height: 100px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(175, 92, 40, 0.4) 49%, rgba(175, 92, 40, 0.4) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(104, 62, 35, 0.3) 49%, rgba(104, 62, 35, 0.3) 51%, transparent 52%);
    background-size: 30px 100%, 100% 25px;
    animation: circuitPulse 4s ease-in-out infinite;
}

@keyframes circuitPulse {

    0%,
    100% {
        opacity: 0.3;
        filter: brightness(1);
    }

    50% {
        opacity: 0.6;
        filter: brightness(1.5);
    }
}

/* Floating geometric shapes */
.floating-shape {
    position: absolute;
    background: rgba(175, 92, 40, 0.1);
    border: 1px solid rgba(175, 92, 40, 0.2);
    animation: floatShape 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 60%;
    right: 20%;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    bottom: 25%;
    left: 60%;
    width: 25px;
    height: 50px;
    border-radius: 15px;
    animation-delay: -10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.2);
        opacity: 0.7;
    }
}

.geometric-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(234, 224, 213, 0.4), transparent);
    animation: geometricMove 25s linear infinite;
}

.geometric-line:nth-child(1) {
    top: 20%;
    width: 200px;
    left: 10%;
    animation-delay: 0s;
}

.geometric-line:nth-child(2) {
    top: 60%;
    width: 150px;
    right: 15%;
    animation-delay: -8s;
}

.geometric-line:nth-child(3) {
    top: 80%;
    width: 300px;
    left: 30%;
    animation-delay: -15s;
}

@keyframes geometricMove {
    0% {
        transform: translateX(-100px) scaleX(0);
        opacity: 0;
    }

    20% {
        transform: translateX(0) scaleX(1);
        opacity: 1;
    }

    80% {
        transform: translateX(100px) scaleX(1);
        opacity: 1;
    }

    100% {
        transform: translateX(200px) scaleX(0);
        opacity: 0;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid rgba(234, 224, 213, 0.6);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(16, 16, 16, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(175, 92, 40, 0.2);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 16px;
    background: linear-gradient(45deg,
            rgba(175, 92, 40, 0.5),
            rgba(104, 62, 35, 0.3),
            rgba(175, 92, 40, 0.5));
    z-index: -1;
    animation: scrollIndicatorGlow 3s ease-in-out infinite;
}

@keyframes scrollIndicatorGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.scroll-indicator:hover {
    border-color: #EAE0D5;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(175, 92, 40, 0.4);
}

.scroll-indicator span {
    display: block;
    width: 4px;
    height: 10px;
    background: #EAE0D5;
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollDot 1.4s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(22px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes floatApp {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
    z-index: 10;
    position: relative;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-name {
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.1s both;
}

.company-tagline {
    display: inline-block;
    background: linear-gradient(135deg, #EAE0D5 0%, #FFE2D1 50%, #C7824E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    margin-top: 4rem;
    position: relative;
    text-shadow: 0 0 30px rgba(175, 92, 40, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.company-tagline::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent, rgba(175, 92, 40, 0.2), transparent);
    border-radius: 8px;
    z-index: -1;
    animation: taglineGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.2);
    }
}

@keyframes taglineGlow {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2A2A2A 0%, #EAE0D5 30%, #C7824E 70%, #6D462D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fadeInUp 1s ease-out, gradientShift 8s ease-in-out infinite;
    margin-top: -30px;
    position: relative;
    text-shadow: 0 0 40px rgba(175, 92, 40, 0.2);
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(175, 92, 40, 0.1) 50%, transparent 100%);
    animation: titleShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes titleShimmer {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInScale 1s ease-out 0.3s both;
    position: relative;
    line-height: 1.6;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(175, 92, 40, 0.6), rgba(104, 62, 35, 0.4));
    animation: underlineGrow 2s ease-out 1.5s both;
}

@keyframes underlineGrow {
    to {
        width: 100%;
    }
}

.hero-cta {
    animation: fadeInScale 1s ease-out 0.6s both;
    position: relative;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(175, 92, 40, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ctaGlow 3s ease-out 2s both;
    z-index: -1;
}

@keyframes ctaGlow {
    to {
        width: 200px;
        height: 200px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Buttons */
.btn-primary,
.btn-cta,
.btn-submit {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #683E23 0%, #8B5A3C 50%, #6D462D 100%);
    color: #EAE0D5;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(104, 62, 35, 0.3);
    transform: translateZ(0);
}

.btn-primary::before,
.btn-cta::before,
.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary::after,
.btn-cta::after,
.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover,
.btn-cta:hover,
.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(104, 62, 35, 0.4), 0 0 20px rgba(175, 92, 40, 0.3);
    background: linear-gradient(135deg, #8B5A3C 0%, #6D462D 50%, #C7824E 100%);
}

.btn-primary:hover::before,
.btn-cta:hover::before,
.btn-submit:hover::before {
    left: 100%;
}

.btn-primary:hover::after,
.btn-cta:hover::after,
.btn-submit:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:active,
.btn-cta:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-cta {
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Section decorative elements */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(175, 92, 40, 0.3) 20%,
            rgba(104, 62, 35, 0.5) 50%,
            rgba(175, 92, 40, 0.3) 80%,
            transparent 100%);
    animation: sectionLineGlow 6s ease-in-out infinite;
}

@keyframes sectionLineGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Ambient background patterns for sections */
.ecosystem::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(104, 62, 35, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: ambientFloat 20s ease-in-out infinite;
    z-index: 0;
}

.manifesto::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(175, 92, 40, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: ambientFloat 25s ease-in-out infinite reverse;
    z-index: 0;
}

.how::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: rgba(139, 90, 60, 0.08);
    animation: squareRotate 30s linear infinite;
    z-index: 0;
}

@keyframes ambientFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes squareRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Grid overlay pattern */
.section-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(175, 92, 40, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(175, 92, 40, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridShift 40s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gridShift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(50px, 50px);
        opacity: 0.1;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #683E23, #8B5A3C, #6D462D);
    margin: 1rem auto;
    border-radius: 2px;
    animation: titleUnderlineGlow 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(175, 92, 40, 0.3);
}

@keyframes titleUnderlineGlow {

    0%,
    100% {
        width: 100px;
        box-shadow: 0 0 10px rgba(175, 92, 40, 0.3);
    }

    50% {
        width: 120px;
        box-shadow: 0 0 20px rgba(175, 92, 40, 0.6);
    }
}

.section-title {
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(175, 92, 40, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: titleGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes titleGlow {

    0%,
    100% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    50% {
        width: 300px;
        height: 100px;
        opacity: 1;
    }
}

/* Ecosystem Section */
.ecosystem {
    background-color: #101010;
    padding-top: 120px;
    /* Compensar o header fixo */
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ecosystem-card {
    background: rgba(33, 33, 33, 0.7);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(104, 62, 35, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(104, 62, 35, 0.2);
    transform: translateZ(0);
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #683E23, #8B5A3C, #6D462D);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.ecosystem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(175, 92, 40, 0.1) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}





.ecosystem-card:hover {
    transform: translateY(-8px) scale(1.02) rotateX(2deg);
    box-shadow:
        0 20px 40px rgba(104, 62, 35, 0.3),
        0 0 20px rgba(175, 92, 40, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(175, 92, 40, 0.5);
    background: rgba(33, 33, 33, 0.8);
}

.ecosystem-card:hover::before {
    transform: scaleX(1);
}

.ecosystem-card:hover::after {
    opacity: 1;
}

.ecosystem-card:hover .card-icon {
    transform: scale(1.1) rotateY(5deg);
    color: #6D462D;
}

.ecosystem-card:hover .card-title {
    color: #6D462D;
    text-shadow: 0 0 10px rgba(175, 92, 40, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #683E23;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(175, 92, 40, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.ecosystem-card:hover .card-icon::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    color: #683E23;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-text {
    color: #EAE0D5;
    opacity: 0.9;
    line-height: 1.6;
}

.ecosystem-footer {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(104, 62, 35, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(104, 62, 35, 0.2);
}

.footer-title {
    color: #9E7B65;
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.9;
}

/* Manifesto Section */
.manifesto {
    background: linear-gradient(135deg, #1a1a1a 0%, #101010 50%, #1a1a1a 100%);
    padding-top: 80px;
    /* Compensar o header fixo */
}

.manifesto-content {
    max-width: 1000px;
    margin: 0 auto;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.manifesto-block {
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(15px) saturate(110%);
    -webkit-backdrop-filter: blur(15px) saturate(110%);
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.manifesto-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(175, 92, 40, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.manifesto-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #683E23, #8B5A3C);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.manifesto-block:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(104, 62, 35, 0.3),
        0 0 20px rgba(175, 92, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(175, 92, 40, 0.4);
}

.manifesto-block:hover::before {
    transform: scaleX(1);
}

.manifesto-block:hover::after {
    opacity: 1;
}

.manifesto-block:hover .block-icon {
    transform: scale(1.15) rotateZ(5deg);
    color: #6D462D;
}

.block-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #683E23;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-icon svg {
    width: 100%;
    height: 100%;
}

.manifesto-block h3 {
    color: #683E23;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.manifesto-block p {
    color: #EAE0D5;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Highlight Box */
.highlight-box {
    background: rgba(104, 62, 35, 0.1);
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.highlight-text {
    color: #EAE0D5;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Action Box */
.action-box {
    background: linear-gradient(135deg, rgba(104, 62, 35, 0.15), rgba(139, 90, 60, 0.1));
    border: 1px solid rgba(104, 62, 35, 0.4);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.action-text {
    color: #EAE0D5;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Partners Box */
.partners-box {
    background: rgba(104, 62, 35, 0.08);
    border: 1px solid rgba(104, 62, 35, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.partners-box h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(104, 62, 35, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(104, 62, 35, 0.2);
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(104, 62, 35, 0.15);
    transform: translateX(5px);
}

.partner-icon {
    font-size: 1.2rem;
    min-width: 24px;
}

.partner-item span:last-child {
    color: #EAE0D5;
    font-size: 0.95rem;
}

.journey-text {
    color: #EAE0D5;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    background:
        linear-gradient(135deg, #683E23 0%, #8B5A3C 50%, #6D462D 100%),
        radial-gradient(circle at 30% 70%, rgba(175, 62, 35, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(104, 62, 35, 0.2) 0%, transparent 50%);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Compensar o header fixo */
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: ctaShimmer 8s ease-in-out infinite;
}

@keyframes ctaShimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(234, 224, 213, 0.5) 0%,
            rgba(175, 92, 40, 0.8) 50%,
            rgba(234, 224, 213, 0.5) 100%);
    animation: ctaBottomGlow 4s ease-in-out infinite;
}

@keyframes ctaBottomGlow {

    0%,
    100% {
        opacity: 0.5;
        height: 2px;
    }

    50% {
        opacity: 1;
        height: 4px;
    }
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: #EAE0D5;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.btn-cta {
    background: rgba(234, 224, 213, 0.1);
    color: #EAE0D5;
    border: 2px solid #EAE0D5;
}

.btn-cta:hover {
    background: #EAE0D5;
    color: #683E23;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background:
        linear-gradient(180deg, #101010 0%, #0a0a0a 100%),
        radial-gradient(circle at center top, rgba(104, 62, 35, 0.1) 0%, transparent 50%);
    padding: 2rem 0;
    border-top: 1px solid rgba(104, 62, 35, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(175, 92, 40, 0.6) 50%,
            transparent 100%);
    animation: footerLineGlow 6s ease-in-out infinite;
}

@keyframes footerLineGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand h3 {
    color: #683E23;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.7;
    margin: 0;
}

.footer-text {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #EAE0D5;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    opacity: 1;
    color: #6D462D;
    transform: translateY(-2px);
}





/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered Animation Classes */
.stagger-animation {
    animation: staggerIn 0.8s ease-out both;
}

.stagger-animation:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animation:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animation:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Bounce Animation */
.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }

    70% {
        transform: scale(0.98) translateY(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Slide Animations */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out both;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out both;
}

/* Scale Animation */
.scale-in {
    animation: scaleIn 0.6s ease-out both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade Slide Animation */
.fade-slide {
    animation: fadeSlide 1s ease-out both;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px) translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Advanced Section Transitions */
.section-transition {
    position: relative;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(175, 92, 40, 0.02) 50%,
            transparent 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(175, 92, 40, 0.1) 50%,
            transparent 100%);
    animation: transitionSweep 3s ease-in-out infinite;
}

@keyframes transitionSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #683E23, #6D462D, #683E23);
    border-radius: 1px;
    position: relative;
    animation: dividerPulse 2s ease-in-out infinite;
}

@keyframes dividerPulse {

    0%,
    100% {
        width: 60px;
        opacity: 0.7;
    }

    50% {
        width: 80px;
        opacity: 1;
    }
}

/* Loading Animations */
.loading-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #683E23, #6D462D);
    animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDot {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Morphing Shapes */
.morphing-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(175, 92, 40, 0.1), rgba(104, 62, 35, 0.05));
    border-radius: 50%;
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {

    0%,
    100% {
        border-radius: 50%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 25% 75% 50% 50%;
        transform: rotate(90deg) scale(1.1);
    }

    50% {
        border-radius: 50% 25% 75% 50%;
        transform: rotate(180deg) scale(0.9);
    }

    75% {
        border-radius: 75% 50% 25% 75%;
        transform: rotate(270deg) scale(1.2);
    }
}

/* Gradient Shift Effects */
.gradient-shift {
    background: linear-gradient(45deg,
            rgba(104, 62, 35, 0.1) 0%,
            rgba(175, 92, 40, 0.15) 25%,
            rgba(139, 90, 60, 0.1) 50%,
            rgba(175, 92, 40, 0.08) 75%,
            rgba(104, 62, 35, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease-in-out infinite;
}

/* Wave Animation */
.wave-animation {
    position: relative;
    overflow: hidden;
}

.wave-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(175, 92, 40, 0.1) 50%,
            transparent 100%);
    animation: wave 3s linear infinite;
}

@keyframes wave {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Breathing Animation for Important Elements */
.breathing {
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

/* Glitch Effect for Special Elements */
.glitch {
    position: relative;
    animation: glitch 0.3s ease-in-out infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #6D462D;
    animation: glitchTop 0.3s ease-in-out infinite;
    clip-path: inset(0 0 55% 0);
}

.glitch::after {
    color: #683E23;
    animation: glitchBottom 0.3s ease-in-out infinite;
    clip-path: inset(55% 0 0 0);
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(-1px, -1px);
    }

    60% {
        transform: translate(1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitchTop {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, -2px);
    }

    40% {
        transform: translate(-2px, 2px);
    }

    60% {
        transform: translate(2px, -2px);
    }

    80% {
        transform: translate(2px, 2px);
    }
}

@keyframes glitchBottom {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, 2px);
    }

    80% {
        transform: translate(-2px, -2px);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 4rem 0;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ecosystem-card {
        padding: 2rem;
    }

    /* Manifesto responsivo */
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .manifesto-block {
        padding: 1.5rem;
    }

    .partners-list {
        gap: 0.5rem;
    }

    .partner-item {
        padding: 0.6rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .btn-primary,
    .btn-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .nav-brand {
        gap: 0.3rem;
        align-items: center;
    }

    .btn-app {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .company-tagline {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    /* Mobile Menu */
    .nav-toggle {
        display: flex;
        margin-left: auto;
        order: 3;
    }

    /* Força o nav a ser flex com elementos organizados */
    .nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Garante que a navegação principal fique oculta no mobile */
    #tnp-navigation {
        order: 2;
    }

    /* Logo sempre à esquerda */
    .nav-brand {
        order: 1;
    }

    /* Popup central elegante */
    .nav-links {
        position: fixed;
        top: 300px;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        flex-direction: column;
        gap: 2.5rem;
        width: min(92vw, 420px);
        max-height: 80vh;
        overflow: auto;
        padding: 2rem;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(16, 16, 16, 0.95), rgba(8, 8, 8, 0.92));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(104, 62, 35, 0.28);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(234, 224, 213, 0.05);
        transition: opacity 0.28s ease, transform 0.28s ease;
        z-index: 2400;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 1rem 1.25rem;
        width: 100%;
        background: rgba(234, 224, 213, 0.04);
        border: 1px solid rgba(104, 62, 35, 0.25);
        border-radius: 10px;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .nav-links a:hover {
        background: rgba(234, 224, 213, 0.08);
        box-shadow: 0 10px 24px rgba(104, 62, 35, 0.18);
    }

    .nav {
        position: relative;
        z-index: 1300;
    }

    /* Overlay de fundo para o menu mobile */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* CTA do app no hero (mobile) */
    .hero-app-cta-mobile {
        display: flex;
        justify-content: center;
        margin-top: -0.5rem;
    }

    .hero-app-cta-mobile .btn-app {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
        margin-right: 0;
    }

    /* Esconde o botão do header em todas as versões mobile */
    .header-btn-app {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }
}

/* Hero Visual (imagem do app) */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    transition: transform 0.6s ease;
    animation: floatApp 2.5s ease-in-out infinite;
}

/* HOW SECTION */
.how {
    background: #141414;
    padding-top: 80px;
    /* Compensar o header fixo */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(12px) saturate(110%);
    -webkit-backdrop-filter: blur(12px) saturate(110%);
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 18px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(175, 92, 40, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card::after {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(104, 62, 35, 0.8), rgba(175, 92, 40, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #EAE0D5;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.03) rotateZ(1deg);
    box-shadow:
        0 20px 40px rgba(104, 62, 35, 0.25),
        0 0 15px rgba(175, 92, 40, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(175, 92, 40, 0.4);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotateY(10deg);
    background: linear-gradient(135deg, #6D462D, #C7824E);
    box-shadow: 0 5px 15px rgba(175, 92, 40, 0.4);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #683E23, #8B5A3C);
    color: #EAE0D5;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 3px 10px rgba(104, 62, 35, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .step-number::before {
    opacity: 1;
}

/* METRICS */
.metrics {
    background: #101010;
    padding-top: 80px;
    /* Compensar o header fixo */
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.metric {
    text-align: center;
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(175, 92, 40, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 35px rgba(104, 62, 35, 0.25),
        0 0 15px rgba(175, 92, 40, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(175, 92, 40, 0.4);
}

.metric:hover::before {
    opacity: 1;
}

.metric:hover .metric-value {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(175, 92, 40, 0.4);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #EAE0D5;
    background: linear-gradient(135deg, #ECECEC 0%, #EBD5C4 50%, #C7824E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
    transition: all 0.4s ease;
    position: relative;
}

.metric-label {
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* TESTIMONIALS */
.testimonials {
    background: #141414;
    padding-top: 80px;
    /* Compensar o header fixo */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(15px) saturate(110%);
    -webkit-backdrop-filter: blur(15px) saturate(110%);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(175, 92, 40, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(104, 62, 35, 0.3),
        0 0 15px rgba(175, 92, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(175, 92, 40, 0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: #EAE0D5;
}

.author-role {
    opacity: 0.7;
}

/* FAQ */
.faq {
    background:
        linear-gradient(135deg, #101010 0%, #0f0f0f 50%, #101010 100%),
        radial-gradient(circle at 20% 80%, rgba(104, 62, 35, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(175, 92, 40, 0.03) 0%, transparent 50%);
    padding-top: 80px;
    /* Compensar o header fixo */
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(104, 62, 35, 0.3);
    border-radius: 16px;
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(15px) saturate(110%);
    -webkit-backdrop-filter: blur(15px) saturate(110%);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(175, 92, 40, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(104, 62, 35, 0.2),
        0 0 20px rgba(175, 92, 40, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(175, 92, 40, 0.4);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: #EAE0D5;
    padding: 1.25rem 1rem 1.25rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(104, 62, 35, 0.2);
    color: #EAE0D5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(175, 92, 40, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon::before {
    width: 100%;
    height: 100%;
}

.faq-item:hover .faq-icon {
    transform: scale(1.1);
    background: rgba(175, 92, 40, 0.3);
    box-shadow: 0 0 15px rgba(175, 92, 40, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0.85;
    padding: 0 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    max-height: 500px;
    opacity: 1;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(175, 92, 40, 0.2);
}

.faq-item.open .faq-icon {
    background: linear-gradient(135deg, #683E23, #8B5A3C);
}

/* Utilities */
.tilt {
    will-change: transform;
    transform-style: preserve-3d;
}

/* Advanced Visual Effects */
.neon-glow {
    text-shadow:
        0 0 5px rgba(175, 92, 40, 0.8),
        0 0 10px rgba(175, 92, 40, 0.6),
        0 0 15px rgba(175, 92, 40, 0.4),
        0 0 20px rgba(175, 92, 40, 0.2);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow:
            0 0 5px rgba(175, 92, 40, 0.8),
            0 0 10px rgba(175, 92, 40, 0.6),
            0 0 15px rgba(175, 92, 40, 0.4),
            0 0 20px rgba(175, 92, 40, 0.2);
    }

    to {
        text-shadow:
            0 0 10px rgba(175, 92, 40, 1),
            0 0 20px rgba(175, 92, 40, 0.8),
            0 0 30px rgba(175, 92, 40, 0.6),
            0 0 40px rgba(175, 92, 40, 0.4);
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg,
            rgba(175, 92, 40, 0.1) 0%,
            rgba(104, 62, 35, 0.15) 25%,
            rgba(139, 90, 60, 0.1) 50%,
            rgba(175, 92, 40, 0.08) 75%,
            rgba(104, 62, 35, 0.05) 100%);
    background-size: 400% 400%;
    animation: holographic 6s ease-in-out infinite;
    position: relative;
}

.holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    animation: holographicShine 3s ease-in-out infinite;
}

@keyframes holographic {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes holographicShine {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Liquid Animation */
.liquid {
    background: linear-gradient(45deg, #683E23, #8B5A3C, #6D462D);
    background-size: 400% 400%;
    animation: liquid 8s ease-in-out infinite;
    border-radius: 50%;
    transition: border-radius 0.5s ease;
}

.liquid:hover {
    border-radius: 25% 75% 50% 50% / 50% 25% 75% 50%;
}

@keyframes liquid {

    0%,
    100% {
        background-position: 0% 50%;
        border-radius: 50%;
    }

    25% {
        background-position: 100% 50%;
        border-radius: 25% 75% 50% 50% / 50% 25% 75% 50%;
    }

    50% {
        background-position: 100% 100%;
        border-radius: 50% 25% 75% 50% / 25% 75% 50% 50%;
    }

    75% {
        background-position: 0% 100%;
        border-radius: 75% 50% 25% 75% / 50% 50% 25% 75%;
    }
}

/* Particle Trail Effect */
.particle-trail {
    position: relative;
    overflow: hidden;
}

.particle-trail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    background: rgba(175, 92, 40, 0.8);
    border-radius: 50%;
    box-shadow:
        10px 0 0 rgba(175, 92, 40, 0.6),
        20px 0 0 rgba(175, 92, 40, 0.4),
        30px 0 0 rgba(175, 92, 40, 0.2),
        40px 0 0 rgba(175, 92, 40, 0.1);
    animation: particleTrail 2s linear infinite;
    transform: translateY(-50%);
}

@keyframes particleTrail {
    0% {
        left: -50px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: relative;
    overflow: hidden;
}

.matrix-rain::before {
    content: '0101010010110101001011010100101101010010110101001011010100101101010010110101001011010100101101';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    color: rgba(175, 92, 40, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 12px;
    word-break: break-all;
    animation: matrixRain 10s linear infinite;
    z-index: 1;
}

@keyframes matrixRain {
    0% {
        top: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.hero-visual img:hover {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 40px 80px rgba(175, 92, 40, 0.3));
}

.hero-visual img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Layout desktop: texto à esquerda e imagem à direita */
@media (min-width: 992px) {
    .hero-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: left;
        margin: 0;
    }

    .hero-cta {
        display: inline-flex;
    }

    /* Esconde CTA mobile do hero no desktop */
    .hero-app-cta-mobile {
        display: none;
    }

    /* Esconde o botão do header no desktop, conforme pedido */
    .header-btn-app {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #683E23;
    outline-offset: 2px;
}

/* Smooth scrolling for modern browsers */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}