:root {
    --primary-color: #0d4b87;
    --secondary-color: #1a73e8;
    --accent-color: #4285f4;
    --light-color: #f8f9fa;
    --dark-color: #0a2540;
    --text-color: #333;
    --text-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #34a853;
    --warning-color: #fbbc05;
    --danger-color: #ea4335;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

.logo img {
    height: 60px;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(26, 115, 232, 0.1);
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

#menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(13, 75, 135, 0.8), rgba(13, 75, 135, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-light {
    background-color: white;
}

.section-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: -10px;
}

.divider {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

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

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content {
    font-size: 1.1rem;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.image-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.section-dark .card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objective-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.objective-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.objective-icon {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

/* Solution Tabs */
.solution-tabs {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-btn {
    padding: 12px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.solution-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.solution-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.solution-details p {
    margin-bottom: 20px;
}

.solution-details ul {
    margin-bottom: 20px;
}

.solution-details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.solution-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.solution-details ul li ul {
    margin-top: 10px;
    margin-left: 20px;
}

.tech-stack {
    margin-top: 20px;
}

.tech-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Sistema IA Section */
.sistema-ia-content {
    max-width: 900px;
    margin: 0 auto;
}

.sistema-ia-intro {
    text-align: center;
    margin-bottom: 40px;
}

.sistema-ia-intro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.sistema-ia-flow {
    text-align: center;
    margin-bottom: 50px;
}

.sistema-ia-flow img {
    max-width: 100%;
    border-radius: 10px;
}

.ia-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.ia-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.ia-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.ia-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.sistema-ia-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--light-color);
}

.benefit-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Licitações Section */
.licitacoes-content {
    max-width: 900px;
    margin: 0 auto;
}

.licitacoes-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

.modalidade-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.modalidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.modalidade-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modalidade-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.modalidade-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Chatbot Section */
.chatbot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.chatbot-window {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header img {
    height: 30px;
}

.chatbot-header h3 {
    margin-bottom: 0;
}

.chatbot-messages {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.message.system {
    background-color: #f1f1f1;
    color: var(--text-color);
    align-self: flex-start;
}

.message.user {
    background-color: var(--primary-color);
    color: white;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chatbot-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    background-color: var(--secondary-color);
}

.chatbot-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.chatbot-info p {
    margin-bottom: 20px;
}

.chatbot-info ul {
    margin-bottom: 20px;
}

.chatbot-info ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.chatbot-info ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--light-color);
    font-weight: bold;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.benefit-card .benefit-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

/* Timeline Section */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-phase {
    margin-bottom: 40px;
    padding-left: 30px;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.timeline-phase:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.phase-header {
    margin-bottom: 15px;
}

.phase-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.phase-period {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.phase-items li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.phase-items li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Normativas Section */
.normativas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.normativa-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.normativa-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.normativa-icon {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 20px;
}

.normativa-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.normativa-card p {
    margin-bottom: 20px;
}

.normativa-card .btn-secondary {
    border-color: var(--light-color);
    color: var(--light-color);
}

.normativa-card .btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .content-grid,
    .solution-content,
    .chatbot-content {
        grid-template-columns: 1fr;
    }
    
    .solution-image {
        order: -1;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px var(--shadow-color);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 0 0 15px;
    }
    
    #menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    #hero {
        padding: 120px 0 80px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .solution-details h3 {
        font-size: 1.5rem;
    }
}
