/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #171717;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Smooth scrolling for all anchor links */
a {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove default button styles */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
}

/* Responsive typography base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #171717;
}

/* Utility classes for common patterns */
.container-custom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 3rem;
    }
}

/* Navigation specific styles */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile menu overlay backdrop */
#mobile-menu {
    overflow-y: auto;
}

/* Smooth transitions for navigation links */
.nav-link,
.mobile-nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #22c55e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* FAQ Accordion Styles */
.faq-item {
    transition: border-color 0.3s ease;
}

.faq-answer {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
}

.faq-chevron {
    transition: transform 0.3s ease;
}

/* Dashboard Screens Carousel (Mobile) */
.dashboard-screens {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    gap: 1.5rem;
    padding: 0 1rem;
}

.dashboard-screens::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.dashboard-screen {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 80%;
    padding: 0 0.5rem;
}

/* Header Logo Styles */
.site-logo {
    height: 42px;
    /* Aumentado de 36px para 42px (Bem pouquinho) */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .site-logo {
        height: 32px;
        /* Mantendo mobile */
    }
}