/* Seção de Inspirações */
.inspirations.section {
    padding: 100px 0;
}

.inspirations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.inspiration-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inspiration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.inspiration-image {
    position: relative;
    width: 100%;
    padding-top: 110%; /* Proporção aumentada para imagens mais altas */
    overflow: hidden;
}

.inspiration-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.inspiration-card:hover .inspiration-image img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.inspiration-card:hover .play-icon {
    background: rgba(var(--primary-color-rgb), 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.inspiration-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.inspiration-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

.inspiration-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.inspiration-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Estilos para o modal de vídeo (CORRIGIDO) */
.video-modal {
    display: none; /* Começa oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Classe que o JavaScript usará para mostrar o modal */
.video-modal.active {
    display: flex; 
}

.video-modal-content {
    position: relative;
    background-color: #000;
    width: 100%;
    max-width: 900px; /* Limite para desktops */
    max-height: 85vh; /* Limite de altura */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 85vh;
}

/* Estilo para o botão de fechar */
.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
}