:root {
    --verde-principal: #2E8B57;
    --verde-secundario: #3CB371;
    --verde-claro: #98FB98;
}

body {
    font-family: 'Poppins', sans-serif;
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--verde-principal);
    transition: width 0.3s ease;
}

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

.hero {
    background: linear-gradient(135deg, #f5f9f7, #e8f5f0);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero h1 {
    line-height: 1.2;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.wave-container {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.bg-suave-verde {
    background: linear-gradient(135deg, #f5f9f7, #e8f5f0);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--verde-principal);
    background-color: transparent;
    border-bottom: 2px solid var(--verde-principal);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    padding: 1rem;
}

.footer {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    text-align: justify;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

.section-title-underline {
    position: relative;
    display: inline-block; 
    padding-bottom: 8px; 
}

.section-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 3px; 
    background-color: var(--verde-principal); 
    border-radius: 2px; 
}

.access-icon {
    font-size: 3.5rem; 
    color: var(--verde-principal); 
    line-height: 1; 
}

.access .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Estilos do Carrossel */
.carousel-section {
    position: relative;
    margin: 0;
    padding: 0;
}

.carousel-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: white;
    border-color: var(--verde-principal);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(46, 139, 87, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .carousel-image-container {
        height: 200px;
    }
    
    .carousel-overlay h3 {
        font-size: 1.5rem;
    }
    
    .carousel-overlay p {
        font-size: 0.9rem;
    }
}

/* Estilos para o logo rotativo */
.logo-rotativa {
    --rotation: 0deg;
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    height: auto;
    width: 600px;
    display: block;
    margin: 0 auto;
    will-change: transform;
    transform: rotate(var(--rotation));
}

.logo-rotativa.scrolling {
    animation: none;
}

@keyframes float {
    0% {
        transform: rotate(var(--rotation)) translateY(0px);
    }
    50% {
        transform: rotate(var(--rotation)) translateY(-15px);
    }
    100% {
        transform: rotate(var(--rotation)) translateY(0px);
    }
}

/* Responsividade para o logo */
@media (max-width: 992px) {
    .logo-rotativa {
        width: 450px;
    }
}

@media (max-width: 768px) {
    .logo-rotativa {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .logo-rotativa {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .logo-rotativa {
        width: 200px;
    }
}

/* Espaçamento entre botões de Login e Cadastre-se no menu mobile */
@media (max-width: 991.98px) {
    .offcanvas-body .navbar-nav .nav-item:last-child {
        margin-top: 0.5rem;
    }
    
    .offcanvas-body .navbar-nav .nav-item .btn {
        margin-bottom: 0.25rem;
        width: 100%;
        text-align: center;
    }
    
    /* Espaçamento específico entre os botões de Login e Cadastre-se */
    .offcanvas-body .navbar-nav .nav-item:nth-last-child(2) {
        margin-bottom: 0.5rem;
    }
}