/* IACHED - Modern Futuristic Stylesheet */

/* Color Variables - New Color Scheme */
:root {
    --primary-dark: #00688B;      /* DeepSkyBlue4 - Azul escuro */
    --primary-light: #00BFFF;     /* DeepSkyBlue - Azul claro/ciano */
    --background-light: #F0FFFF;  /* Azure - Azul muito claro */
    --accent-warm: #BC8F8F;       /* RosyBrown - Rosa acinzentado */
    --white: #ffffff;
    --black: #000000;
    --light-gray: #eceff1;
    --dark-gray: #37474f;
    
    /* Gradients com novas cores */
    --gradient-primary: linear-gradient(135deg, #00688B 0%, #00BFFF 100%);
    --gradient-dark: linear-gradient(135deg, #00688B 0%, #37474f 100%);
    --gradient-accent: linear-gradient(135deg, #BC8F8F 0%, #00BFFF 100%);
    
    /* Shadows com novas cores */
    --shadow-glow: 0 0 20px rgba(0, 191, 255, 0.4);
    --shadow-strong: 0 10px 40px rgba(0, 104, 139, 0.3);
    --shadow-warm: 0 5px 25px rgba(188, 143, 143, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-light);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Bar - Futuristic White Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 30px rgba(0, 104, 139, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 40px rgba(0, 104, 139, 0.25);
    border-bottom: 2px solid rgba(0, 191, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.nav-logo::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--gradient-primary);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-logo:hover::before {
    opacity: 1;
}

.nav-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 104, 139, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoGlow 4s ease-in-out infinite;
}

.nav-logo img:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(0, 191, 255, 0.5));
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 8px rgba(0, 104, 139, 0.3));
    }
    50% {
        filter: drop-shadow(0 2px 12px rgba(0, 191, 255, 0.5));
    }
}

.nav-logo-text {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    display: block;
    overflow: hidden;
}

/* Efeito de fundo glassmorphism ao hover */
.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 191, 255, 0.1) 0%, 
        rgba(0, 104, 139, 0.15) 100%);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.nav-menu li a:hover::before {
    opacity: 1;
}

/* Linha animada inferior */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.nav-menu li a:hover::after {
    width: 70%;
}

/* Efeito de brilho nos cantos */
.nav-menu li a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

/* Partículas flutuantes no hover */
.nav-menu li::before,
.nav-menu li::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.nav-menu li::before {
    top: 0;
    left: 0;
    animation: particle1 3s infinite;
}

.nav-menu li::after {
    bottom: 0;
    right: 0;
    animation: particle2 3s infinite;
}

.nav-menu li:hover::before,
.nav-menu li:hover::after {
    opacity: 0.6;
}

@keyframes particle1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -5px);
    }
    50% {
        transform: translate(20px, 0);
    }
    75% {
        transform: translate(10px, 5px);
    }
}

@keyframes particle2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, 5px);
    }
    50% {
        transform: translate(-20px, 0);
    }
    75% {
        transform: translate(-10px, -5px);
    }
}

/* Efeito de pulse no link ativo */
.nav-menu li a:active {
    animation: linkPulse 0.3s ease;
}

@keyframes linkPulse {
    0% {
        transform: scale(1) translateY(-2px);
    }
    50% {
        transform: scale(0.95) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(-2px);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Parallax Hero Section */
.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.6);
    transition: transform 0.5s ease-out;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.8) 0%, rgba(0, 188, 212, 0.6) 100%);
}

.parallax-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.parallax-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: glowPulse 3s infinite;
}

.parallax-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: var(--primary-dark);
    color: var(--primary-light);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-light {
    background: var(--background-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(188, 143, 143, 0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-strong);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--light-blue);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.partner-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.partner-logos img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 191, 255, 0.8), 0 0 40px rgba(188, 143, 143, 0.4);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        box-shadow: var(--shadow-strong);
        border-top: 2px solid rgba(0, 191, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle span {
        background: var(--primary-dark);
    }

    .parallax-content h1 {
        font-size: 2.5rem;
    }

    .parallax-content .subtitle {
        font-size: 1.2rem;
    }

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

    .form-container {
        padding: 2rem 1.5rem;
    }
}