:root {
    --color-bg-black: #0a0a0a;
    --color-bg-section: #121212;
    --color-bg-card: #1a1a1a;
    --color-accent-blue: #00a8ff;
    --color-text-white: #ffffff;
    --color-text-gray: #cccccc;
    --color-icon-gray: #777777;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-text); color: var(--color-text-white); background-color: var(--color-bg-black); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }
.text-center { text-align: center; }

/* TÍTULOS */
.section-subtitle { color: var(--color-accent-blue); font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.section-title { font-family: var(--font-title); font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 25px; color: var(--color-text-white); }
.section-title span { color: var(--color-accent-blue); }
.section-description { color: var(--color-text-gray); font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px auto; }

/* BOTÕES */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 700; font-family: var(--font-title); text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; }
.btn-large { padding: 16px 36px; font-size: 1rem; }
.btn-blue { background-color: var(--color-accent-blue); color: #000; }
.btn-blue:hover { background-color: #33baff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 168, 255, 0.4); }
.btn-white { background-color: transparent; color: var(--color-text-white); border: 2px solid var(--color-text-white); }
.btn-white:hover { background-color: var(--color-text-white); color: #000; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }
.btn-full { width: 100%; display: block; text-align: center; border: none; }

/* HEADER */
.header { background-color: #000; position: fixed; width: 100%; top: 0; z-index: 1000; transition: box-shadow 0.3s ease; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo-img { height: 60px; width: auto; }
.nav-menu ul { display: flex; list-style: none; gap: 35px; }
.nav-menu a { color: rgba(255, 255, 255, 0.7); font-weight: 500; font-size: 1rem; transition: color 0.3s; position: relative; }
.nav-menu a:hover { color: var(--color-text-white); }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--color-accent-blue); transition: width 0.3s ease; }
.nav-menu a:hover::after { width: 100%; }

/* HERO LiDAR */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; margin-top: 90px; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #050505; overflow: hidden; }
.overlay-solid { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at center, #0a1118 0%, #000000 100%); }
.overlay-gradient { position: absolute; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%); z-index: 2;}
.lidar-container { position: absolute; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; z-index: 1; opacity: 0.8; transition: transform 0.1s ease-out;}
.brasilia-wireframe { width: 100%; height: auto; min-height: 100%; filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.6)); }
.wireframe-line { fill: none; stroke: var(--color-accent-blue); stroke-width: 2; stroke-dasharray: 1500; stroke-dashoffset: 0; animation: drawLine 8s infinite alternate ease-in-out; }
.topo-line { fill: none; stroke: #004466; stroke-width: 1.5; }

/* VELOCIDADE DO SCANNER DIMINUÍDA (14s) */
.laser-scanner { position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: #00a8ff; box-shadow: 0 0 25px 8px rgba(0, 168, 255, 0.5); animation: scan 14s infinite ease-in-out; z-index: 3; }

@keyframes scan { 0% { left: -10%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 110%; opacity: 0; } }
@keyframes drawLine { 0% { stroke-dashoffset: 1500; } 100% { stroke-dashoffset: 0; } }

.hero-content { position: relative; z-index: 10; color: var(--color-text-white); max-width: 900px; padding-bottom: 50px; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero-title { font-family: var(--font-title); font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; }
.hero-title span { color: var(--color-accent-blue); }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 45px; opacity: 0.9; max-width: 700px; }
.hero-buttons { display: flex; gap: 20px; }

/* SOBRE NÓS */
.about-section { padding: 100px 0; background-color: var(--color-bg-section); }
.about-container { display: flex; align-items: center; gap: 60px; }
.about-image-wrapper { flex: 1; position: relative; }
.about-img { width: 100%; border-radius: 8px; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); }
.image-border { position: absolute; top: 20px; left: -20px; width: 100%; height: 100%; border: 3px solid var(--color-accent-blue); border-radius: 8px; z-index: 1; }
.about-content { flex: 1; }
.about-text { font-size: 1.05rem; color: var(--color-text-gray); margin-bottom: 20px; }
.about-features { list-style: none; margin-top: 30px; }
.about-features li { display: flex; align-items: center; margin-bottom: 15px; font-size: 1rem; color: var(--color-text-gray); }
.feature-icon { color: var(--color-accent-blue); font-size: 1.1rem; margin-right: 15px; }

/* SERVIÇOS */
.services-section { padding: 100px 0; background-color: var(--color-bg-black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background-color: var(--color-bg-card); padding: 40px 30px; border-radius: 8px; border-top: 3px solid #2a2a2a; transition: all 0.4s ease; height: 100%; cursor: pointer;}
.service-card:hover { border-top: 3px solid var(--color-accent-blue); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 168, 255, 0.08); background-color: #1f1f1f; }
.card-icon { font-size: 2.8rem; margin-bottom: 20px; color: var(--color-icon-gray); transition: all 0.4s ease; }
.service-card:hover .card-icon { color: var(--color-accent-blue); transform: scale(1.1); }
.card-title { font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; color: var(--color-text-white); margin-bottom: 15px; }
.card-text { color: var(--color-text-gray); font-size: 0.95rem; line-height: 1.5; }

/* MODAL DE SERVIÇOS (POP-UP) */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.85); backdrop-filter: blur(5px); }
.modal-content { background-color: var(--color-bg-card); margin: 5% auto; padding: 40px; border: 1px solid #333; border-top: 4px solid var(--color-accent-blue); width: 90%; max-width: 800px; border-radius: 8px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8); animation: fadeIn 0.3s; }
@keyframes fadeIn { from {opacity: 0; transform: translateY(-20px);} to {opacity: 1; transform: translateY(0);} }
.close-modal { color: var(--color-text-gray); float: right; font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-modal:hover { color: var(--color-accent-blue); }
.modal-header-icon { font-size: 3.5rem; color: var(--color-accent-blue); text-align: center; margin-bottom: 20px; }
.modal-body-text { color: var(--color-text-gray); font-size: 1.05rem; line-height: 1.8; }
.modal-body-text p { margin-bottom: 15px; }

/* CONTATO */
.contact-section { padding: 100px 0; background-color: var(--color-bg-section); }
.contact-container { display: flex; gap: 50px; margin-top: 50px; }
.contact-info { flex: 1; }
.info-box { display: flex; align-items: flex-start; margin-bottom: 40px; }
.info-icon { font-size: 2rem; margin-right: 20px; color: var(--color-accent-blue); transition: transform 0.3s ease;}
.info-box:hover .info-icon { transform: scale(1.1); }
.info-box h3 { font-family: var(--font-title); color: var(--color-text-white); margin-bottom: 5px; }
.info-box p { color: var(--color-text-gray); font-size: 1.1rem; }
.info-box a { color: var(--color-text-gray); transition: color 0.3s; }
.info-box a:hover { color: var(--color-accent-blue); }
.contact-form-wrapper { flex: 1.5; background-color: var(--color-bg-card); padding: 40px; border-radius: 8px; border-top: 4px solid var(--color-accent-blue); }
.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.contact-form label { display: block; color: var(--color-text-white); margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; background-color: #0f0f0f; border: 1px solid #333; border-radius: 4px; color: var(--color-text-white); font-family: var(--font-text); font-size: 1rem; transition: all 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent-blue); box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2); }

/* RODAPÉ E WHATSAPP FLUTUANTE */
.footer { background-color: #000000; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer p { color: var(--color-text-gray); font-size: 0.9rem; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease;}
.whatsapp-icon { font-size: 35px; color: white;}
.whatsapp-float:hover { transform: scale(1.1); }
.tooltip-text { visibility: hidden; width: 140px; background-color: #222; color: #fff; text-align: center; border-radius: 6px; padding: 8px 10px; position: absolute; right: 75px; top: 50%; transform: translateY(-50%); font-size: 0.9rem; font-weight: 500; opacity: 0; transition: opacity 0.3s; }
.tooltip-text::after { content: ""; position: absolute; top: 50%; left: 100%; margin-top: -6px; border-width: 6px; border-style: solid; border-color: transparent transparent transparent #222; }
.whatsapp-float:hover .tooltip-text { visibility: visible; opacity: 1; }

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .about-container { flex-direction: column; gap: 40px; }
    .about-image-wrapper { width: 100%; max-width: 600px; margin: 0 auto; }
    .contact-container { flex-direction: column; }
}
@media (max-width: 768px) {
    .header-content { flex-wrap: wrap; height: auto; padding: 15px 20px; gap: 15px; }
    .nav-menu { display: none; }
    .header .btn-blue { margin-left: auto; }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .form-row { flex-direction: column; gap: 0; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-icon { font-size: 30px; }
    .tooltip-text { display: none; }
    .modal-content { margin: 15% auto; padding: 25px; }
}