:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-main: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header { background: var(--white); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--secondary); z-index: 1200; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { text-decoration: none; color: var(--secondary); margin-left: 30px; font-weight: 500; transition: 0.3s; }
.nav-links li a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 5px; }

/* Menu Toggle (Ajustado para cor azul no active) */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--secondary); z-index: 1200; position: relative; transition: 0.3s; }
.menu-toggle.active { color: var(--primary); } /* O 'X' ficará azul */

/* Hero */
.hero { height: 100vh; background: linear-gradient(rgba(15,23,42,0.8), rgba(15,23,42,0.8)), url('hero.jpg'); background-size: cover; background-position: center; display: flex; align-items: center; color: white; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.btn-main { background: var(--primary); color: white; padding: 15px 40px; border-radius: 6px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; }
.btn-main:hover { background: var(--accent); transform: translateY(-2px); }

/* Services */
.services { padding: 100px 0; background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 60px; font-size: 2.2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 40px; border-radius: 12px; transition: 0.3s; border: 1px solid #e2e8f0; text-align: center; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.service-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

/* Testimonials */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.testimonial-card { background: var(--bg-light); padding: 40px; border-radius: 20px; position: relative; }
.quote-icon { position: absolute; top: 20px; right: 30px; font-size: 2rem; opacity: 0.1; color: var(--primary); }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.client-info img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }

/* Contact */
.contact { padding: 100px 0; background: var(--secondary); }
.contact-card { background: white; padding: 40px; border-radius: 15px; max-width: 600px; margin: 0 auto; text-align: center; }
#contact-form { display: grid; gap: 15px; margin-top: 20px; }
#contact-form input, #contact-form textarea { padding: 12px; border: 1px solid #cbd5e1; border-radius: 5px; }

/* WhatsApp */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 2000; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; }
.whatsapp-float:hover { background-color: #128c7e; transform: scale(1.1); }
.tooltip-whatsapp { position: absolute; right: 75px; background: #333; color: #fff; padding: 8px 15px; border-radius: 5px; font-size: 14px; white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.3s; }
.whatsapp-float:hover .tooltip-whatsapp { opacity: 1; visibility: visible; }

footer { background: #0a0f1d; color: #94a3b8; padding: 40px 0; text-align: center; }

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1210}
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; background: var(--white); flex-direction: column; justify-content: center; transition: 0.4s ease-in-out; box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 1200; }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .hero-text h1 {font-size: 46px}
    .testimonial-grid { grid-template-columns: 1fr; }
    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
    .tooltip-whatsapp { display: none; }
}
