/* Estilos Gerais */
:root {
    --primary-color: #1E88E5;
    --secondary-color: #43A047;
    --neutral-color: #607D8B;
    --dark-blue: #0D47A1;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --alert-color: #E53935;
    --text-dark: #333333;
    --text-light: #757575;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-sm: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

a:hover {
    color: var(--dark-blue);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

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

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    display: inline-block;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

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

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(30, 136, 229, 0.1);
}

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

.nav-links a.btn-primary:hover {
    background-color: var(--dark-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Seção de Introdução */
.intro {
    padding: 120px 0 80px;
    background-color: var(--white);
}

.intro .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.intro-buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.intro-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Seção de Manutenção */
.manutencao {
    padding: 80px 0;
}

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

.problem-card, .diagnostic-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.problem-card:hover, .diagnostic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.diagnostic-section {
    margin-top: 50px;
    text-align: center;
}

.diagnostic-section h3 {
    margin-bottom: 30px;
}

.interactive-computer {
    margin-top: 80px;
    text-align: center;
}

.computer-model {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.computer-placeholder {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    position: relative;
}

.hotspot {
    position: absolute;
    cursor: pointer;
}

.hotspot-dot {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

.hotspot-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
}

.hotspot:hover .hotspot-label {
    opacity: 1;
}

.component-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.maintenance-timeline {
    margin-top: 80px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    top: 20px;
    left: 0;
}

.timeline-item {
    position: relative;
    width: calc(25% - 20px);
    padding-top: 40px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Seção de Cabeamento */
.cabeamento {
    padding: 80px 0;
}

.concept-section {
    margin-bottom: 50px;
}

.standards-section {
    margin-bottom: 50px;
}

.tabs {
    margin-top: 30px;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-weight: 600;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

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

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

.component-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.component-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(67, 160, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.component-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.cable-comparison {
    margin-top: 80px;
}

.comparison-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.comparison-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px;
    text-align: left;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* Seção de Serviços */
.servicos {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.contracts-section {
    margin-top: 50px;
    text-align: center;
}

.contracts-section h3 {
    margin-bottom: 30px;
}

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

.contract-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contract-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
}

.contract-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.contract-header h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.contract-body {
    padding: 30px;
}

.contract-body ul {
    list-style: none;
    margin-bottom: 30px;
}

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

.contract-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Seção de Diagnóstico */
.diagnostico {
    padding: 80px 0;
    background-color: var(--white);
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quiz-progress {
    height: 5px;
    background-color: var(--light-gray);
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 25%;
    transition: var(--transition);
}

.quiz-question {
    padding: 30px;
}

.quiz-question h3 {
    text-align: center;
    margin-bottom: 30px;
}

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

.quiz-option {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    background-color: rgba(30, 136, 229, 0.1);
}

.quiz-option i {
    font-size: 30px;
    color: var(--primary-color);
}

.quiz-result {
    padding: 30px;
    text-align: center;
}

.result-content {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    text-align: left;
}

/* Seção de Contato */
.contato {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

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

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    margin-bottom: 5px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h3,
.footer-services h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

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

.footer-services ul li {
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #aaa;
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 1199px) {
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .timeline-item {
        width: calc(50% - 20px);
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .intro .container {
        flex-direction: column;
    }
    
    .intro-content, .intro-image {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .intro-buttons {
        flex-direction: column;
    }
    
    .timeline-item {
        width: 100%;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
