.hero-slide {
    display: none;
    animation: fade 1.5s ease-in-out;
}

.hero-slide.active {
    display: flex;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.hero-slider-container {
    height: 800px;
}

.hero-overlay {
    background-color: rgba(30, 58, 95, 0.7);
}

.bg-cover-center {
    background-size: cover;
    background-position: center;
}

/* Posicionamento dos controles */
.hero-ctrl-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-ctrl-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-indicators {
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Overlays de botões e indicadores */
.bg-black-20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.bg-black-20:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Estilos para a seção "Nossa Essência" */
.essencia-container {
    margin-top: 5rem;
    /* mt-20 */
}

.essencia-title {
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: bold;
    text-align: center;
    color: #1a202c;
    /* text-gray-900 */
    margin-bottom: 3rem;
    /* mb-12 */
}

.essencia-grid {
    display: grid;
    gap: 2rem;
    /* gap-8 */
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .essencia-grid {
        grid-template-columns: repeat(3, 1fr);
        /* md:grid-cols-3 */
    }
}

.essencia-card {
    position: relative;
    border-radius: 0.75rem;
    /* rounded-xl */
    background-color: #ffffff;
    color: #2d3748;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    /* p-6 */
    text-align: center;
    overflow: hidden;
    /* Importante para o ::before não vazar */
}

.essencia-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    /* Aumentei um pouco para ficar mais visível */
    background-color: var(--border-color);
    border-top-left-radius: 0.75rem;
    /* Acompanha o canto superior esquerdo */
    border-bottom-left-radius: 0.75rem;
    /* Acompanha o canto inferior esquerdo */
}

.essencia-card h4 {
    font-weight: bold;
    font-size: 1.125rem;
    /* text-lg */
    margin-bottom: 1rem;
    /* mb-4 */
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* tracking-wide */
}

.essencia-card p {
    color: #4a5568;
    /* text-gray-600 */
    line-height: 1.7;
    /* leading-relaxed */
    margin: 0;
}

/* Ajustes responsivos manuais (equivalente às classes md: do Tailwind) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
        /* ~text-7xl */
    }

    .hero-subtitle {
        font-size: 1.875rem;
        /* ~text-3xl */
    }
}