/* ConecTI Cloud v2 - Modern Glassmorphism & Clean UI Design */

:root {
    /* Color Palette */
    --cf-bg-base: #0a192f;
    --cf-bg-surface: #112240;
    --cf-primary: #00a8e8;
    --cf-primary-dark: #0077b6;
    --cf-text-main: #e6f1ff;
    --cf-text-muted: #8892b0;
    
    /* Accents (From previous concepts & requested warmth) */
    --acc-orange: #E76E24;
    --acc-red: #CA262D;
    --acc-purple: #8C4FFF;
    --acc-green: #3B7822;
    
    /* Glassmorphism Specs */
    --glass-bg: rgba(17, 34, 64, 0.45);
    --glass-border: rgba(0, 168, 232, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Utilities */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.6) 0%, rgba(10, 25, 47, 0.7) 100%), url('background_cloud.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--cf-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Basics */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--cf-text-main);
    line-height: 1.25;
}

h1 { font-size: 3.5rem; letter-spacing: -1.5px; margin-bottom: 25px; }
h2 { font-size: 2.8rem; letter-spacing: -1px; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
p { color: var(--cf-text-muted); margin-bottom: 20px; font-size: 1.05rem; }

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }

/* Custom Modern Tags / Badges */
.tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 168, 232, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--cf-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Glassmorphism Classes */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

.glass-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 25, 47, 0.95);
    box-shadow: var(--glass-shadow);
}

.glass-card-large {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
}

.glass-panel {
    background: rgba(17, 34, 64, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-8px);
    background: rgba(17, 34, 64, 0.6);
    border-color: var(--cf-primary);
}

.glass-hover {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-hover::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--cf-primary), var(--cf-primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.glass-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    background: var(--cf-bg-surface);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cf-primary), var(--cf-primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--cf-text-main);
    border: 2px solid var(--cf-primary);
}

.btn-outline:hover {
    background: rgba(0, 168, 232, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Altura de uma 'tag' ou 'badge' no menu */
    width: 200px;
    overflow: hidden; /* Corta a borda branca que sobrar */
    border-radius: 8px;
    background: #fff; /* Garante que o fundo apareça uniformemente branco no recorte */
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 180px; /* Aumenta a foto para contornar a borda branca */
    object-fit: cover;
    transform: scale(1.3);
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.35); /* Zoom sutil no hover */
    filter: brightness(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cf-text-main);
    opacity: 0.85;
}

.nav-links a:not(.btn):hover {
    color: var(--cf-primary);
    opacity: 1;
}

/* Specific Glow Icons */
.stat-icon i, .service-icon-modern i, .icon-circle i {
    font-size: 2.2rem;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orange-glow i { background-image: linear-gradient(45deg, #E76E24, #F2A65A); filter: drop-shadow(0 0 8px rgba(231, 110, 36, 0.4)); }
.red-glow i { background-image: linear-gradient(45deg, #CA262D, #FF5C62); filter: drop-shadow(0 0 8px rgba(202, 38, 45, 0.4)); }
.purple-glow i { background-image: linear-gradient(45deg, #8C4FFF, #B48CFF); filter: drop-shadow(0 0 8px rgba(140, 79, 255, 0.4)); }
.green-glow i { background-image: linear-gradient(45deg, #3B7822, #5CBA35); filter: drop-shadow(0 0 8px rgba(59, 120, 34, 0.4)); }
.blue-glow i { background-image: linear-gradient(45deg, #005CAA, #2A93F4); filter: drop-shadow(0 0 8px rgba(0, 92, 170, 0.4)); }
.cyan-glow i { background-image: linear-gradient(45deg, var(--cf-primary), #00F0FF); filter: drop-shadow(0 0 8px rgba(0, 168, 232, 0.4)); }

.service-icon-modern { margin-bottom: 25px; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-bg-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.highlight-text {
    background: linear-gradient(135deg, var(--cf-text-main) 0%, var(--cf-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Stats */
.stats-bar {
    padding: 50px 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

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

.stat-item span {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Sections Base */
section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 35px;
}

.subtitle {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

/* About Overlay */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}
.lead-text {
    font-size: 1.3rem;
    color: var(--cf-text-main);
    font-weight: 500;
    margin-bottom: 30px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--cf-primary);
    font-weight: 600;
    margin-top: 10px;
    font-size: 0.95rem;
}

.service-link:hover { gap: 10px; }

/* Partners */
.glass-carousel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px;
    margin-top: 40px;
}

.partner-logo {
    opacity: 0.5;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.partner-icon { font-size: 2.5rem; }
.txt-brand { font-family: Arial, sans-serif; font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.txt-brand .light { font-weight: 400; }
.txt-brand .sub { font-size: 0.8rem; font-weight: 400; display: block; margin-top: -5px;}
.orange-brand { color: #E57000; }
.red-brand { color: #C01F29; }
.red-brand-dark { color: #CC0000; }
.blue-brand { color: #005CAA; }
.blue-brand-dark { color: #17499F; }
.green-brand { color: #00B336; }

/* Contact Section */
.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-item-modern {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(17, 34, 64, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.icon-circle i { font-size: 1.4rem; }

h4 { margin-bottom: 5px; font-size: 1.1rem; }
.info-text p { margin-bottom: 0; }

/* Form Modern Floating Labels */
.modern-form {
    background: transparent;
}

.input-modern-group {
    position: relative;
    margin-bottom: 35px;
}

.input-modern-group input,
.input-modern-group textarea,
.input-modern-group select {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--cf-text-main);
    font-family: inherit;
    font-size: 1.05rem;
    z-index: 2;
    position: relative;
}

.input-modern-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--cf-text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.input-modern-group .line {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
}

.input-modern-group .line::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--cf-primary);
    transition: var(--transition-smooth);
}

/* Floating logic */
.input-modern-group input:focus ~ label,
.input-modern-group input:valid ~ label,
.input-modern-group textarea:focus ~ label,
.input-modern-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: var(--cf-primary);
}

.input-modern-group input:focus ~ .line::after,
.input-modern-group textarea:focus ~ .line::after,
.input-modern-group select:focus ~ .line::after { width: 100%; }

.config-select select {
    color: var(--cf-text-muted);
}
.config-select select:focus { color: var(--cf-text-main); }
.config-select select option { background: var(--cf-bg-surface); color: var(--cf-text-main); }

/* Footer Links Row */
.footer-links-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.contact-link-col h3 { font-size: 1.2rem; color: #fff; margin-bottom: 20px; }
.contact-link-col ul { list-style: none; }
.contact-link-col ul li { margin-bottom: 12px; }
.contact-link-col ul li a { opacity: 0.7; }
.contact-link-col ul li a:hover { opacity: 1; color: var(--cf-primary); padding-left: 5px; }

.social-links-modern { display: flex; gap: 15px; }
.social-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(17, 34, 64, 0.8);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; border: 1px solid var(--glass-border);
}
.social-icon:hover {
    background: var(--cf-primary); color: #fff; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

.glass-footer { text-align: center; opacity: 0.6; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); }

/* Partners layout */
.partners-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px;
    margin-top: 40px;
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.featured-row .partner-logo {
    opacity: 1;
}

.partners-divider {
    width: 40%;
    height: 1px;
    background: var(--glass-border);
}


/* Animations (Scroll reveal) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Mobile Nav */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--cf-text-main); }

@media (max-width: 900px) {
    .split-view { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .hamburger { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        flex-direction: column; justify-content: center;
        transform: translateY(-100%); transition: var(--transition-smooth);
    }
    .nav-links.active { transform: translateY(0); }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.5rem; }
    .glass-card-large { padding: 30px 20px; }
}
