/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222222;
    background-color: #FAFAFA;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #273140;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    min-height: 60px;
    position: relative;
}

.logo {
    height: 50px;
    width: auto;
    z-index: 1001;
    flex-shrink: 0;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #93c5fd;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #93c5fd;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

.nav.mobile-open .nav-link {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section - Mobile First */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 60px;
    background: url('images/background.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: white;
    padding-bottom: 40px;
    padding: 0 20px 40px;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.4;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #088a37;
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn:hover {
    background-color: #0aa342;
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.whatsapp-btn span {
    font-size: 1.2rem;
}

/* Clientes */
.clients {
    padding: 40px 0 60px 0;
    background-color: white;
}

.clients h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #273140;
    font-weight: 600;
}

.clients-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.clients-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
    padding: 20px 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clients-track::-webkit-scrollbar {
    display: none;
}

.client-logo {
    flex: 0 0 180px;
    height: 120px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border: 1px solid #E5E5E5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(0.1) brightness(1.1) contrast(1.1);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1.05) contrast(1.05);
}

/* Botões do carrossel de clientes */
.clients-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.clients-btn:hover {
    background: white;
    color: #333;
    border-color: #dee2e6;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.clients-btn-prev {
    left: 10px;
}

.clients-btn-next {
    right: 10px;
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1.05) contrast(1.05);
}

/* .client-logo::nth-child(1) {
    background-image: url('logo-zagonel.svg');
    background-size: cover;
    background-position: center;
} */

/* Serviços - Carrossel */
.services {
    padding: 60px 0;
    background-color: #F4EFEA;
}

.services h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.services-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.service-slide {
    min-width: 100%;
    position: relative;
}

.service-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 50px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.service-overlay h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.whatsapp-btn-carousel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #088a37;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn-carousel:hover {
    background: #0aa342;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn-carousel img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #088a37;
    transform: scale(1.2);
}

.indicator:hover {
    background: #0aa342;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5BB1A7;
    font-weight: bold;
}

.service-cta {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex-shrink: 0;
}

/* Estatísticas */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5577 100%);
    color: white;
}

.stats-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #5BB1A7;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Depoimentos */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #273140;
}

.testimonials-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.client-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5BB1A7, #4a9d94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.client-info {
    flex: 1;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #273140;
    margin: 0 0 4px 0;
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.rating {
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive para mobile - Clientes */
@media screen and (max-width: 768px) {
    .clients-carousel {
        padding: 0 50px;
    }
    
    .client-logo {
        flex: 0 0 150px;
        height: 100px;
    }
    
    .client-logo img {
        max-height: 70px;
    }
    
    .clients-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .clients-btn-prev {
        left: 5px;
    }

    .clients-btn-next {
        right: 5px;
    }
}

@media screen and (max-width: 480px) {
    .clients-carousel {
        padding: 0 40px;
    }
    
    .client-logo {
        flex: 0 0 130px;
        height: 90px;
    }
    
    .client-logo img {
        max-height: 60px;
    }
    
    .clients-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .clients-btn-prev {
        left: 5px;
    }

    .clients-btn-next {
        right: 5px;
    }
}

/* Responsive para tablets */
@media screen and (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonials h2 {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 35px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Responsive para desktop */
@media screen and (min-width: 1024px) {
    .testimonials {
        padding: 100px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
    
    .testimonial-card {
        padding: 40px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f2435 0%, #1a3951 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5BB1A7, #3D7068, #5BB1A7);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #5BB1A7;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 1rem;
}

.footer-cnpj {
    margin-top: 0.5rem;
}

.footer-cnpj span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #5BB1A7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.contact-icon {
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.footer-whatsapp {
    margin-top: 1.5rem;
}

.whatsapp-btn-simple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #088a37;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.whatsapp-btn-simple:hover {
    background: #0aa342;
}

.whatsapp-btn-simple img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Media Queries - Desktop */
@media (min-width: 768px) {
    /* Header Desktop */
    .mobile-menu-btn {
        display: none;
    }

    .nav {
        display: block !important;
    }

    .header-content {
        padding: 25px 0;
        justify-content: space-between;
    }

    .logo {
        height: 60px;
    }

    /* Hero Desktop */
    .hero {
        min-height: 100vh;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero-container {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

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

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
        line-height: 1.2;
        max-width: 900px;
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 750px;
        line-height: 1.6;
    }

    /* Clientes Desktop */
    .clients-grid {
        justify-content: space-between;
        gap: 40px;
        max-width: 1000px;
    }

    .client-logo {
        flex: 1;
        min-width: 160px;
        max-width: 180px;
        padding: 20px;
    }

    .client-logo img {
        max-width: 140px;
        height: 90px;
    }

    /* Serviços Desktop - Carrossel */
    .services-carousel {
        max-width: 400px;
    }

    .service-image {
        height: 420px;
    }

    .service-overlay {
        padding: 60px 35px 35px;
        gap: 20px;
    }

    .service-overlay h3 {
        font-size: 1.2rem;
    }

    .whatsapp-btn-carousel {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .carousel-btn-prev {
        left: 20px;
    }

    .carousel-btn-next {
        right: 20px;
    }

    /* Stats Desktop */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    /* Footer Desktop */
    .footer-main {
        grid-template-columns: 2fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-brand p {
        max-width: 350px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        gap: 80px;
    }

    .hero-content h1 {
        /* font-size: 4rem; */
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 40px;
    }
}

/* Animações suaves */
@media (prefers-reduced-motion: no-preference) {
    .service-item,
    .testimonial-item,
    .stat-item {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(30px);
    }

    .service-item:nth-child(1) { animation-delay: 0.1s; }
    .service-item:nth-child(2) { animation-delay: 0.2s; }
    .service-item:nth-child(3) { animation-delay: 0.3s; }

    .testimonial-item:nth-child(1) { animation-delay: 0.1s; }
    .testimonial-item:nth-child(2) { animation-delay: 0.2s; }
    .testimonial-item:nth-child(3) { animation-delay: 0.3s; }

    .stat-item:nth-child(1) { animation-delay: 0.1s; }
    .stat-item:nth-child(2) { animation-delay: 0.2s; }
    .stat-item:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}