/* =========================================================================
   BASE STYLES & VARIABLES
   ========================================================================= */

:root {
    /* Color Palette */
    --color-primary: #0F3057;    /* Deep Blue Technological */
    --color-secondary: #3AA6B9;  /* Modern Cyan */
    --color-accent: #F5A623;     /* Highlight CTA */
    --color-gray-dark: #4A4A4A;  /* Dark Gray Professional */
    --color-text: #333333;       /* Main text */
    --color-text-light: #777777; /* Subtle text */
    --color-bg-light: #F8F9FA;   /* Light clean background */
    --color-white: #FFFFFF;      /* Pure white */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Font Sizes */
    --fs-h1: clamp(2.5rem, 5vw, 4rem);
    --fs-h2: clamp(2rem, 4vw, 3rem);
    --fs-h3: 1.5rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Transitions & Shadows */
    --transition: 0.3s ease-in-out;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: var(--fs-h2);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.highlight {
    color: var(--color-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #E0941B; /* Darker accent */
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 48px; /* Slightly larger maybe */
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
    letter-spacing: -0.5px;
    display: inline-block;
}

.logo-text .highlight-text {
    color: var(--color-secondary);
}

@media screen and (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-dark);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-secondary);
}

.btn-primary-sm {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-primary-sm:hover {
    background-color: #E0941B;
    color: var(--color-white);
}

.nav-toggle, .nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Mobile Nav */
@media screen and (max-width: 968px) {
    .nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 4rem 2rem 2rem;
        box-shadow: var(--shadow-soft);
        transition: top 0.4s;
        border-bottom-left-radius: var(--radius-md);
        border-bottom-right-radius: var(--radius-md);
    }
    
    .nav.show-menu {
        top: 0;
    }

    .nav-list {
        flex-direction: column;
        row-gap: 1.5rem;
        text-align: center;
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* =========================================================================
   HERO SECTION (PARALLAX PRO)
   ========================================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
}

/* CAPAS PARALLAX */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    will-change: transform;
}

/* FONDO RADIAL */
.bg {
    background: radial-gradient(circle at center, #112A44 0%, var(--color-primary) 100%);
}

/* GRID / WIREFRAME */
.grid-layer {
    opacity: 0.12;
}

.grid-content {
    display: grid;
    grid-template-columns: repeat(6, 80px);
    gap: 15px;
    transform: perspective(1000px) rotateX(60deg) translateY(-100px);
}

.grid-content div {
    width: 80px;
    height: 60px;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
}

/* LOGO LAYER */
.logo-layer {
    z-index: 2;
}

.hero-center-logo {
    width: 300px;
    opacity: 0.1;
    filter: drop-shadow(0 0 30px var(--color-secondary));
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

/* UI ELEMENTS */
.ui {
    display: flex;
    gap: 30px;
    z-index: 3;
}

.card {
    width: 140px;
    height: 90px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(58, 166, 185, 0.2);
    box-shadow: 0 0 20px rgba(58, 166, 185, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCard 0.8s forwards ease-out;
}

.card-1 { animation-delay: 0.2s; }
.card-2 { animation-delay: 0.4s; margin-top: -40px; }
.card-3 { animation-delay: 0.6s; }

/* ICONOS FLOTANTES */
.icons {
    z-index: 4;
}

.floating-icon {
    position: absolute;
    font-size: 2.2rem;
    color: var(--color-secondary);
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(58, 166, 185, 0.5));
    animation: floatAnim 6s infinite ease-in-out;
}

.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 2s; }
.delay-3 { animation-delay: 4s; }

/* TEXTO CONTENT */
.layer-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 80px; /* Offset header */
    transform: translateY(20px);
    animation: fadeInUpText 1s forwards 0.8s ease-out;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    text-align: left;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
}

.hero-cover-img {
    width: 100%;
    max-width: 800px; /* Grande, para que destaque */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: floatAnim 6s infinite ease-in-out;
    border-radius: var(--radius-lg);
}

.hero-title {
    font-size: var(--fs-h1);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: var(--color-bg-light);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 100; 
    pointer-events: auto; 
}

.hero-btn-pro {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, var(--color-secondary), #2D8696);
    box-shadow: 0 0 15px rgba(58, 166, 185, 0.4);
    border: none;
    color: var(--color-white) !important;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.hero-btn-pro:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(58, 166, 185, 0.6);
    background: linear-gradient(90deg, #2D8696, var(--color-secondary));
}

.hero-btn-pro i {
    transition: transform 0.3s ease;
}

.hero-btn-pro:hover i {
    transform: translateX(5px);
}

.hero-btn-pro-outline {
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.hero-btn-pro-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* KEYFRAMES */
@keyframes fadeInUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.05;
        filter: drop-shadow(0 0 20px var(--color-secondary));
        transform: scale(0.95);
    }
    100% {
        opacity: 0.15;
        filter: drop-shadow(0 0 50px var(--color-secondary)) drop-shadow(0 0 15px var(--color-accent));
        transform: scale(1.05);
    }
}

@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(8deg);
    }
}

/* Responsive Hero Pro */
@media screen and (max-width: 968px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .grid-content {
        grid-template-columns: repeat(4, 60px);
    }
    .card {
        width: 100px;
        height: 70px;
    }
    .hero-center-logo {
        width: 200px;
    }
    .hero-btn-pro, .hero-btn-pro-outline {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   WHATSAPP BUTTON
   ========================================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
