/* CSS Variables & Design System */
:root {
    --primary: #071c56; /* Azul profundo */
    --primary-light: #1a3278;
    --accent: #dd8500; /* Laranja/Dourado Softtech */
    --accent-hover: #f0950a;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.5);
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(7, 28, 86, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

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

.text-primary { color: var(--primary); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 28, 86, 0.2);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 28, 86, 0.3);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid rgba(7, 28, 86, 0.1);
}
.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(221, 133, 0, 0.3);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 133, 0, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    gap: 8px;
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}
.btn-block {
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 20px 0;
}

header.scrolled, .header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.logo-bold { font-weight: 800; margin-right: 5px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: 0.3s;
}

/* Glass Card Global */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: radial-gradient(circle at top right, #e2e8f0 0%, var(--bg-main) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7,28,86,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(7, 28, 86, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin: 32px 0;
}

.social-proof {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Mockup CSS */
.mockup-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.8);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(7, 28, 86, 0.25);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(255,255,255,0.9);
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 30px;
    background: rgba(255,255,255,0.6);
}

.chart-bar {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 150px;
    margin: 20px 0;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.chart-bar .bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), #3b82f6);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}
.chart-bar .bar:last-child {
    background: linear-gradient(to top, var(--accent), #fcd34d);
}

.mockup-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); }
.stat-value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--primary); }

/* Features */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
    border-color: rgba(7, 28, 86, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(7, 28, 86, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-box h2, .cta-box p { color: white; }

.cta-form {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}
.cta-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

/* Pages Internal */
.page-inner { background: #f8fafc; }
.page-header {
    padding: 160px 0 60px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

/* Contact Grid */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-info { padding: 40px; background: white; }
.info-item {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    align-items: flex-start;
}
.info-item .icon {
    color: var(--primary);
    background: rgba(7, 28, 86, 0.05);
    padding: 12px;
    border-radius: 50%;
}
.info-item h4 { margin-bottom: 4px; font-size: 1.1rem; }
.info-item a { color: var(--text-muted); }
.info-item a:hover { color: var(--primary); }

.contact-form-wrapper { padding: 40px; background: white; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 28, 86, 0.1);
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    background: #f8fafc;
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}
.fade-up.visible, .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s;
    }
    .main-nav.open { right: 0; }
    .nav-links { flex-direction: column; text-align: center; gap: 20px; }
    .nav-buttons { flex-direction: column; width: 100%; padding: 0 40px; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .cta-form { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul a:hover { padding-left: 0; }
    .check-list { grid-template-columns: 1fr; } 
    .benefits-layout { grid-template-columns: 1fr !important; }
}

/* Novas classes da Copy */
.feature-list { margin-top: 15px; padding-left: 20px; }
.feature-list li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); list-style-type: disc; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-main); }
.check-list li svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }

/* Ecosystem Section */
.ecosystem-section {
    background-color: var(--primary);
    padding: 100px 0;
    overflow: hidden;
}

.ecosystem-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
}

.ecosystem-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 90px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    z-index: 3;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.1), 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    cursor: pointer;
}
.ecosystem-center:hover {
    box-shadow: 0 0 0 15px rgba(255,255,255,0.2), 0 15px 40px rgba(0,0,0,0.4);
    transform: translate(-50%, -50%) scale(1.05);
}

.ecosystem-item {
    position: absolute;
    background: white;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.05), 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
}

.ecosystem-item svg {
    width: 20px; height: 20px; color: var(--accent); transition: var(--transition);
}

.ecosystem-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255,255,255,0.1), 0 10px 25px rgba(221, 133, 0, 0.3);
    color: var(--accent);
}

.ecosystem-item:hover svg {
    transform: rotate(15deg) scale(1.2);
}

/* Positioning */
.item-1 { top: 5%; left: 50%; margin-left: -80px; }
.item-2 { top: 25%; right: 0; }
.item-3 { bottom: 25%; right: 5%; }
.item-4 { bottom: 0; left: 50%; margin-left: -90px; }
.item-5 { bottom: 25%; left: 5%; }
.item-6 { top: 25%; left: 0; }

@media (max-width: 768px) {
    .ecosystem-wrapper { height: auto; display: flex; flex-direction: column; gap: 15px; align-items: center; padding: 20px; }
    .ecosystem-circle { display: none; }
    .ecosystem-center { position: static; transform: none !important; width: 100%; max-width: 300px; margin-bottom: 20px; }
    .ecosystem-item { position: static; transform: none !important; width: 100%; max-width: 300px; justify-content: center; margin: 0; }
    .ecosystem-item:hover { transform: translateY(-3px) !important; }
}
