* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    padding: 1rem;
}

header {
    text-align: center;
    padding: 1rem 0;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.logo-main {
    max-width: 100%;
    height: auto;
    max-height: 3.6rem;
}

.s-hero {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /* Stack items on mobile */
    gap: 1rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    /* Responsive font size */
    margin-bottom: 0;
}

.hero-mockup {
    max-width: 100%;
    height: auto;
    max-height: 36rem;
}

.hero-badges {
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: start;
}

.app-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.2rem;
}

.s-app-links {
    padding: 2rem 0;
}

.s-app-links-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.app-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.qr-code-app {
    max-width: 100%;
    height: auto;
    max-height: 12rem;
    border-radius: 12px;
}

.badge-app-store,
.badge-play-store {
    margin-top: 1rem;
    max-width: 100%;
    height: auto;
    max-height: 4rem;
}

.s-features {
    padding: 2rem 0;
}

.s-features-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

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

.feature-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    height: 32px;
}

.screenshot-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.screenshot {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Swiper container */
.swiper {
    width: 100%;
    max-width: 400px;
    /* Adjust based on your screenshot width */
    margin: 20px auto;
    display: none;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navigation buttons styling */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    /* Adjust color to match your design */
}

/* Pagination styling */
.swiper-pagination-bullet {
    background: #333;
    /* Adjust color to match your design */
}

/* Media queries for responsive behavior */
@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .screenshot {
        max-width: 66%;
        display: block;
        margin: 0 auto;
    }

    .hero-title {
        text-align: center;
    }

    .hero-badges {
        gap: 0.2rem;
        justify-content: center;
    }

    .description {
        text-align: center;
    }
}

@media screen and (min-width: 769px) {
    .desktop-only {
        display: flex;
    }

    .mobile-only {
        display: none !important;
    }
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #777;
}

/* Media Queries */
@media screen and (min-width: 768px) {
    body {
        max-width: 1200px;
        padding: 20px;
    }

    .s-hero {
        padding: 2rem 3rem;
        flex-direction: row;
    }

    .hero-content {
        flex: 1;
    }
}

@media screen and (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }

    .app-link-item {
        padding: 0.5rem;
    }

    .logo-main {
        max-height: 2rem;
        width: auto;
    }

    .logo-prefeitura {
        max-width: 10rem;
        height: auto;
    }

    .header {
        padding: 0.5rem 1rem;
    }
}

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

.logo-prefeitura {
    height: 4.3rem;
    height: auto;
    max-height: 4.3rem;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

#a_tel {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#a_tel:hover {
    color: #1a1a1a;
    text-decoration: underline;
}