﻿@charset "UTF-8";

/* =====================================================
   CAROUSEL PRINCIPAL (HERO)
===================================================== */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

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

.carousel-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 90%;
}

.hero-content img {
    width: 90px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 8px;
}

.hero p {
    font-size: clamp(0.8rem, 3vw, 1rem);
    opacity: 0.85;
    margin-bottom: 15px;
}

/* Dots de navegaÃ§Ã£o */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--green-primary);
}

.dot:hover {
    background: var(--green-hover);
}

/* Setas de navegaÃ§Ã£o */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-content {
        max-width: 95%;
    }

    .hero h1 {
        font-size: clamp(1.2rem, 8vw, 1.8rem);
    }

    .hero p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
}
