/* Variáveis Globais */
:root {
    /* Cores da Marca */
    --primary-color: #E65100; /* Laranja Vibrante */
    --primary-light: #FF833A;
    --primary-dark: #AC1900;
    --secondary-color: #1A237E; /* Azul Profundo */
    
    /* Cores de Fundo e Texto */
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-main: #212529;
    --text-muted: #6C757D;
    --text-light: #FFFFFF;
    
    /* Cores dos Subsistemas */
    --sub-strategic: #FFC107;
    --sub-provision: #2196F3;
    --sub-application: #4CAF50;
    --sub-maintenance: #F44336;
    --sub-development: #9C27B0;
    --sub-monitoring: #FF9800;

    /* Espaçamento e Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;
    
    /* Sombras (Neomorfismo Suave) */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 25px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilitários */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    color: #fff;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(230, 81, 0, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(230, 81, 0, 0.05);
    border-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Header / Navbar */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    border-left: 1px solid #ddd;
    padding-left: 10px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    padding-top: var(--header-height);
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F8F9FA 0%, rgba(248, 249, 250, 0.95) 50%, rgba(248, 249, 250, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 920px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: rgba(230, 81, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.7);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(230, 81, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary-color), #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background-color: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    position: relative;
}

.step-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.1), rgba(26, 35, 126, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    font-family: 'Montserrat', sans-serif;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* RH Subsystems */
.subsystems {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.subsystems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.subsystem-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.subsystem-card:hover {
    border-color: rgba(230, 81, 0, 0.3);
    transform: translateY(-5px);
}

.subsystem-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.subsystem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.subsystem-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.subsystem-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
}

/* Plans */
.plans {
    padding: 100px 0;
    background-color: #fff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: flex-start;
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.highlight {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 0;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-hours {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 16px 0;
    font-family: 'Montserrat', sans-serif;
}

.plan-features {
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.plan-footer .btn {
    width: 100%;
    text-align: center;
}

.plan-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background-color: rgba(0,0,0,0.02);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Comparison */
.comparison {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.comparison-box {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.comp-col {
    padding: 60px;
}

.comp-col.traditional {
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
}

.comp-col.service {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.05), rgba(255, 255, 255, 0));
}

.comp-title {
    font-size: 1.25rem;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.comp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.comp-icon.bad { color: #F44336; }
.comp-icon.good { color: #4CAF50; }

/* Clients */
.clients {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.clients-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.client-logo {
    height: 80px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.client-logo img {
    max-height: 100%;
    width: auto;
}

/* CTA */
.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.png');
    opacity: 0.1;
    background-size: cover;
    background-position: center;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin: 16px 0 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .comparison-box { grid-template-columns: 1fr; }
    .comp-col { padding: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .nav-links { display: none; } /* Simplificação para mobile */
}
