/* EstFy - CSS Principal (Site Novo) - Versão Compacta */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366f1; --primary-dark: #4f46e5; --primary-light: #818cf8;
    --secondary: #10b981; --accent: #f59e0b; --danger: #ef4444;
    --text: #1a1a1a; --text-light: #6b7280; --bg: #ffffff; --bg-light: #f8fafc;
    --border: #e2e8f0; --shadow: rgba(0,0,0,0.1);
    --font: 'Inter', sans-serif; --radius: 0.5rem; --transition: 0.3s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); line-height: 1.6; color: var(--text); background: var(--bg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.top-header {
    position: fixed; top: 0; left: 0; right: 0; 
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); z-index: 1000; padding: 1rem 0;
}

.navbar-container { 
    display: flex; align-items: center; justify-content: space-between; 
    max-width: 1200px; margin: 0 auto; padding: 0 1rem;
}

.navbar-brand a { 
    font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none;
}

.navbar-nav { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 500; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.cta-button {
    background: var(--primary); color: white; padding: 0.5rem 1.5rem;
    border-radius: var(--radius); text-decoration: none; font-weight: 500;
    transition: var(--transition);
}
.cta-button:hover { background: var(--primary-dark); }

.mobile-menu-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; }

/* Hero Section */
.hero-section {
    padding: 6rem 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; margin-top: 80px;
}

.hero-content { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.hero-title { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.hero-description { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; padding: 1rem 2rem;
    border: 2px solid transparent; border-radius: var(--radius); font-weight: 500;
    text-decoration: none; transition: var(--transition);
}
.btn-primary { background: white; color: var(--primary); }
.btn-primary:hover { background: var(--bg-light); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: var(--primary); }

/* Sections */
.section-padding { padding: 4rem 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-description { color: var(--text-light); }

/* Services */
.services-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem;
}

.service-card {
    background: white; padding: 2rem; border-radius: var(--radius);
    box-shadow: 0 4px 6px var(--shadow); text-align: center;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px var(--shadow); }

.service-icon {
    width: 80px; height: 80px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.service-icon i { font-size: 2rem; color: white; }
.service-title { font-size: 1.5rem; margin-bottom: 1rem; }
.service-description { color: var(--text-light); margin-bottom: 1rem; }
.service-link { color: var(--primary); font-weight: 500; }

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.feature-check { width: 24px; height: 24px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.feature-check i { color: white; font-size: 0.75rem; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-item { text-align: center; padding: 1.5rem; background: white; border-radius: var(--radius); box-shadow: 0 4px 6px var(--shadow); }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.stat-label { color: var(--text-light); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.project-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: 0 4px 6px var(--shadow); border-left: 4px solid var(--primary); }
.project-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.project-title { font-size: 1.5rem; margin-bottom: 1rem; }
.project-description { color: var(--text-light); margin-bottom: 1rem; }
.project-link { color: var(--primary); font-weight: 500; }

/* Contact */
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: white; border-radius: var(--radius); box-shadow: 0 4px 6px var(--shadow); }
.contact-icon { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: white; font-size: 1.25rem; }

.contact-form-container { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: 0 4px 6px var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-label { font-weight: 500; margin-bottom: 0.5rem; }
.form-input, .form-textarea { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; transition: var(--transition); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit { text-align: center; margin-top: 1.5rem; }

/* Footer */
.site-footer { background: var(--text); color: white; padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-section h5, .footer-section h6 { color: white; margin-bottom: 1rem; }
.footer-description { color: #9ca3af; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: #9ca3af; font-size: 1.25rem; transition: var(--transition); }
.social-links a:hover { color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #9ca3af; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; color: #9ca3af; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid #374151; }
.footer-copyright, .footer-credits { color: #9ca3af; font-size: 0.875rem; }

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .mobile-menu-toggle { display: flex; }
    .navbar-nav { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 2.5rem; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.8s ease; }

/* Skip link for accessibility */
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--primary); 
    color: white; padding: 0.5rem 1rem; text-decoration: none; z-index: 1001;
}
.skip-link:focus { top: 0; }